From: Takashi Iwai Date: Tue, 10 Dec 2019 14:53:58 +0000 (+0100) Subject: ASoC: generic-dmaengine: Drop superfluous ioctl PCM ops X-Git-Tag: Ubuntu-5.10.0-12.13~3539^2~3^2~239 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=2680c3127c3995c7cbd920c87fbc3411685e7717;p=mirror_ubuntu-hirsute-kernel.git ASoC: generic-dmaengine: Drop superfluous ioctl PCM ops ASoC PCM core deals the empty ioctl field now as default. Let's kill the redundant lines. Cc: Lars-Peter Clausen Signed-off-by: Takashi Iwai Link: https://lore.kernel.org/r/20191210145406.21419-16-tiwai@suse.de Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-generic-dmaengine-pcm.c b/sound/soc/soc-generic-dmaengine-pcm.c index a428ff393ea2..4616cab2117c 100644 --- a/sound/soc/soc-generic-dmaengine-pcm.c +++ b/sound/soc/soc-generic-dmaengine-pcm.c @@ -329,7 +329,6 @@ static const struct snd_soc_component_driver dmaengine_pcm_component = { .probe_order = SND_SOC_COMP_ORDER_LATE, .open = dmaengine_pcm_open, .close = dmaengine_pcm_close, - .ioctl = snd_soc_pcm_lib_ioctl, .hw_params = dmaengine_pcm_hw_params, .hw_free = dmaengine_pcm_hw_free, .trigger = dmaengine_pcm_trigger, @@ -342,7 +341,6 @@ static const struct snd_soc_component_driver dmaengine_pcm_component_process = { .probe_order = SND_SOC_COMP_ORDER_LATE, .open = dmaengine_pcm_open, .close = dmaengine_pcm_close, - .ioctl = snd_soc_pcm_lib_ioctl, .hw_params = dmaengine_pcm_hw_params, .hw_free = dmaengine_pcm_hw_free, .trigger = dmaengine_pcm_trigger,