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

Cc: Patrick Lai <plai@codeaurora.org>
Cc: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191210145406.21419-13-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/lpass-platform.c
sound/soc/qcom/qdsp6/q6asm-dai.c

index 2e88923..b05091c 100644 (file)
@@ -543,7 +543,6 @@ static const struct snd_soc_component_driver lpass_component_driver = {
        .name           = DRV_NAME,
        .open           = lpass_platform_pcmops_open,
        .close          = lpass_platform_pcmops_close,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .hw_params      = lpass_platform_pcmops_hw_params,
        .hw_free        = lpass_platform_pcmops_hw_free,
        .prepare        = lpass_platform_pcmops_prepare,
index 8150c10..5e23277 100644 (file)
@@ -880,7 +880,6 @@ static const struct snd_soc_component_driver q6asm_fe_dai_component = {
        .open           = q6asm_dai_open,
        .hw_params      = q6asm_dai_hw_params,
        .close          = q6asm_dai_close,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .prepare        = q6asm_dai_prepare,
        .trigger        = q6asm_dai_trigger,
        .pointer        = q6asm_dai_pointer,