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

Cc: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191210145406.21419-10-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/common/mtk-afe-platform-driver.c
sound/soc/mediatek/common/mtk-btcvsd.c
sound/soc/mediatek/mt6797/mt6797-afe-pcm.c
sound/soc/mediatek/mt8183/mt8183-afe-pcm.c

index b6624d8d084bfc284f37774ad03de1d4f3e0124e..86c09165fae1cc5bd9f47d0175f63209a3c7ba31 100644 (file)
@@ -135,7 +135,6 @@ EXPORT_SYMBOL_GPL(mtk_afe_pcm_free);
 
 const struct snd_soc_component_driver mtk_afe_pcm_platform = {
        .name           = AFE_PCM_NAME,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .pointer        = mtk_afe_pcm_pointer,
        .pcm_construct  = mtk_afe_pcm_new,
        .pcm_destruct   = mtk_afe_pcm_free,
index 2b490ae2e642addfea38e0ea30795b60b9db5674..668fef3e319a073e4dac8d16599e28c492764134 100644 (file)
@@ -1271,7 +1271,6 @@ static const struct snd_soc_component_driver mtk_btcvsd_snd_platform = {
        .probe          = mtk_btcvsd_snd_component_probe,
        .open           = mtk_pcm_btcvsd_open,
        .close          = mtk_pcm_btcvsd_close,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .hw_params      = mtk_pcm_btcvsd_hw_params,
        .hw_free        = mtk_pcm_btcvsd_hw_free,
        .prepare        = mtk_pcm_btcvsd_prepare,
index 033c07fb599c76cdb1c899be71c6c45b866ef31d..cd7c5fabc605014b2b4e90782bd5c13060998183 100644 (file)
@@ -712,7 +712,6 @@ static int mt6797_afe_component_probe(struct snd_soc_component *component)
 static const struct snd_soc_component_driver mt6797_afe_component = {
        .name           = AFE_PCM_NAME,
        .probe          = mt6797_afe_component_probe,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .pointer        = mtk_afe_pcm_pointer,
        .pcm_construct  = mtk_afe_pcm_new,
        .pcm_destruct   = mtk_afe_pcm_free,
index 76af09d8f1af9b381ff3a05a63297c50cb698884..f6a0fadeb3cccb6a14ad54ed8a06abef76476697 100644 (file)
@@ -1050,7 +1050,6 @@ static int mt8183_afe_component_probe(struct snd_soc_component *component)
 static const struct snd_soc_component_driver mt8183_afe_component = {
        .name           = AFE_PCM_NAME,
        .probe          = mt8183_afe_component_probe,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .pointer        = mtk_afe_pcm_pointer,
        .pcm_construct  = mtk_afe_pcm_new,
        .pcm_destruct   = mtk_afe_pcm_free,