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

Cc: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191210145406.21419-21-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/xilinx/xlnx_formatter_pcm.c

index 296c4ca..14767f5 100644 (file)
@@ -543,7 +543,6 @@ static const struct snd_soc_component_driver xlnx_asoc_component = {
        .name           = DRV_NAME,
        .open           = xlnx_formatter_pcm_open,
        .close          = xlnx_formatter_pcm_close,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .hw_params      = xlnx_formatter_pcm_hw_params,
        .hw_free        = xlnx_formatter_pcm_hw_free,
        .trigger        = xlnx_formatter_pcm_trigger,