OSDN Git Service

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

Cc: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191210145406.21419-22-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/xtensa/xtfpga-i2s.c

index e08f4fe..5dae9c8 100644 (file)
@@ -481,7 +481,6 @@ static const struct snd_soc_component_driver xtfpga_i2s_component = {
        .name           = DRV_NAME,
        .open           = xtfpga_pcm_open,
        .close          = xtfpga_pcm_close,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .hw_params      = xtfpga_pcm_hw_params,
        .trigger        = xtfpga_pcm_trigger,
        .pointer        = xtfpga_pcm_pointer,