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

Cc: Timur Tabi <timur@kernel.org>
Cc: Nicolin Chen <nicoleotsuka@gmail.com>
Cc: Xiubo Li <Xiubo.Lee@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Link: https://lore.kernel.org/r/20191210145406.21419-7-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_asrc_dma.c
sound/soc/fsl/fsl_dma.c
sound/soc/fsl/imx-pcm-fiq.c
sound/soc/fsl/mpc5200_dma.c

index d6146de9acd2b995cce37a5e763a1931daed71b6..79d66224c0a87cec8e1bc842a65e59621f4dff19 100644 (file)
@@ -428,7 +428,6 @@ static void fsl_asrc_dma_pcm_free(struct snd_soc_component *component,
 
 struct snd_soc_component_driver fsl_asrc_component = {
        .name           = DRV_NAME,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .hw_params      = fsl_asrc_dma_hw_params,
        .hw_free        = fsl_asrc_dma_hw_free,
        .trigger        = fsl_asrc_dma_trigger,
index 2868c4f97cb29e3d98330f1fcd841b7ab9bb2b6c..13ae089c1911f2886edc186e4c77a40196d49252 100644 (file)
@@ -903,7 +903,6 @@ static int fsl_soc_dma_probe(struct platform_device *pdev)
        dma->dai.name = DRV_NAME;
        dma->dai.open = fsl_dma_open;
        dma->dai.close = fsl_dma_close;
-       dma->dai.ioctl = snd_soc_pcm_lib_ioctl;
        dma->dai.hw_params = fsl_dma_hw_params;
        dma->dai.hw_free = fsl_dma_hw_free;
        dma->dai.pointer = fsl_dma_pointer;
index 08131d147983adf4089bb1eb617e2b90e066fd41..f20d5b1c3848e5b03666c5d4968769b23150cc42 100644 (file)
@@ -338,7 +338,6 @@ static void snd_imx_pcm_free(struct snd_soc_component *component,
 static const struct snd_soc_component_driver imx_soc_component_fiq = {
        .open           = snd_imx_open,
        .close          = snd_imx_close,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .hw_params      = snd_imx_pcm_hw_params,
        .prepare        = snd_imx_pcm_prepare,
        .trigger        = snd_imx_pcm_trigger,
index 5237ac96b7561c9a644b4a982d1e7650fded70ca..ed7211d744b3ab97c13bc8a808f4e724768e6389 100644 (file)
@@ -360,7 +360,6 @@ static const struct snd_soc_component_driver mpc5200_audio_dma_component = {
        .open           = psc_dma_open,
        .close          = psc_dma_close,
        .hw_free        = psc_dma_hw_free,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .pointer        = psc_dma_pointer,
        .trigger        = psc_dma_trigger,
        .hw_params      = psc_dma_hw_params,