OSDN Git Service

ASoC: bcm: Drop superfluous ioctl PCM ops
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2019 14:53:47 +0000 (15:53 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 11 Dec 2019 15:56:04 +0000 (15:56 +0000)
ASoC PCM core deals the empty ioctl field now as default.
Let's kill the redundant lines.

Cc: Ray Jui <rjui@broadcom.com>
Cc: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191210145406.21419-5-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/bcm/cygnus-pcm.c

index c654080..3a80c61 100644 (file)
@@ -818,7 +818,6 @@ static int cygnus_dma_new(struct snd_soc_component *component,
 static struct snd_soc_component_driver cygnus_soc_platform = {
        .open           = cygnus_pcm_open,
        .close          = cygnus_pcm_close,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .hw_params      = cygnus_pcm_hw_params,
        .hw_free        = cygnus_pcm_hw_free,
        .prepare        = cygnus_pcm_prepare,