ASoC: dwc: Drop superfluous ioctl PCM ops
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2019 14:53:48 +0000 (15:53 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 11 Dec 2019 15:56:23 +0000 (15:56 +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-6-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/dwc/dwc-pcm.c

index 4771eb5..bf36c1d 100644 (file)
@@ -271,7 +271,6 @@ static void dw_pcm_free(struct snd_soc_component *component,
 static const struct snd_soc_component_driver dw_pcm_component = {
        .open           = dw_pcm_open,
        .close          = dw_pcm_close,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .hw_params      = dw_pcm_hw_params,
        .hw_free        = dw_pcm_hw_free,
        .trigger        = dw_pcm_trigger,