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

index 4553108ec92a88258790f0f5ce1dd1e10669fbec..4c74698d31b3b129decf328c8a40b12c5e98fb40 100644 (file)
@@ -326,7 +326,6 @@ static struct snd_soc_component_driver au1xpsc_soc_component = {
        .name           = DRV_NAME,
        .open           = au1xpsc_pcm_open,
        .close          = au1xpsc_pcm_close,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .hw_params      = au1xpsc_pcm_hw_params,
        .hw_free        = au1xpsc_pcm_hw_free,
        .prepare        = au1xpsc_pcm_prepare,
index 054dfda89d3e8ac3ada5da115c7d255a9878c197..520eb7b24a920d52d4a515635e8b06eb2bb3298a 100644 (file)
@@ -302,7 +302,6 @@ static struct snd_soc_component_driver alchemy_pcm_soc_component = {
        .name           = DRV_NAME,
        .open           = alchemy_pcm_open,
        .close          = alchemy_pcm_close,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .hw_params      = alchemy_pcm_hw_params,
        .hw_free        = alchemy_pcm_hw_free,
        .trigger        = alchemy_pcm_trigger,