OSDN Git Service

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

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191210145406.21419-23-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-utils.c

index 2fd4562..922eac9 100644 (file)
@@ -77,7 +77,6 @@ static int dummy_dma_open(struct snd_soc_component *component,
 
 static const struct snd_soc_component_driver dummy_platform = {
        .open           = dummy_dma_open,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
 };
 
 static const struct snd_soc_component_driver dummy_codec = {