[alsa-devel] [PATCH for-5.6 17/23] ASoC: sprd: Drop superfluous ioctl PCM ops

Orson Zhai orsonzhai at gmail.com
Wed Dec 11 01:21:14 CET 2019


On Tue, Dec 10, 2019 at 10:54 PM Takashi Iwai <tiwai at suse.de> wrote:
>
> ASoC PCM core deals the empty ioctl field now as default.
> Let's kill the redundant lines.
>
> Cc: Orson Zhai <orsonzhai at gmail.com>
> Cc: Baolin Wang <baolin.wang7 at gmail.com>
> Cc: Chunyan Zhang <zhang.lyra at gmail.com>
> Signed-off-by: Takashi Iwai <tiwai at suse.de>
> ---
>  sound/soc/sprd/sprd-pcm-dma.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/sound/soc/sprd/sprd-pcm-dma.c b/sound/soc/sprd/sprd-pcm-dma.c
> index da4b8f5f192b..2284558684bc 100644
> --- a/sound/soc/sprd/sprd-pcm-dma.c
> +++ b/sound/soc/sprd/sprd-pcm-dma.c
> @@ -508,7 +508,6 @@ static const struct snd_soc_component_driver sprd_soc_component = {
>         .name           = DRV_NAME,
>         .open           = sprd_pcm_open,
>         .close          = sprd_pcm_close,
> -       .ioctl          = snd_soc_pcm_lib_ioctl,
>         .hw_params      = sprd_pcm_hw_params,
>         .hw_free        = sprd_pcm_hw_free,
>         .trigger        = sprd_pcm_trigger,
> --
> 2.16.4
>

Got it. Thank you!
-Orson


More information about the Alsa-devel mailing list