]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ASoC: pxa: Drop superfluous ioctl PCM ops
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2019 14:53:54 +0000 (15:53 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 11 Dec 2019 15:58:04 +0000 (15:58 +0000)
ASoC PCM core deals the empty ioctl field now as default.
Let's kill the redundant lines.

Cc: Daniel Mack <daniel@zonque.org>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191210145406.21419-12-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/pxa/mmp-pcm.c
sound/soc/pxa/pxa-ssp.c
sound/soc/pxa/pxa2xx-ac97.c
sound/soc/pxa/pxa2xx-i2s.c
sound/soc/pxa/pxa2xx-pcm.c

index 54a4c9213e83f265ebd3226e2d059f90dcb295c7..287b5da739e52191106b5623639081a132b2f5b2 100644 (file)
@@ -225,7 +225,6 @@ static const struct snd_soc_component_driver mmp_soc_component = {
        .name           = DRV_NAME,
        .open           = mmp_pcm_open,
        .close          = mmp_pcm_close,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .hw_params      = mmp_pcm_hw_params,
        .trigger        = mmp_pcm_trigger,
        .pointer        = mmp_pcm_pointer,
index 76fdce54f007244e9d00f6290ae660e72f6a7130..f37ea0fb4f3f6e11fd16dc6548f1ab9eb9aca8b5 100644 (file)
@@ -873,7 +873,6 @@ static const struct snd_soc_component_driver pxa_ssp_component = {
        .pcm_destruct   = pxa2xx_soc_pcm_free,
        .open           = pxa2xx_soc_pcm_open,
        .close          = pxa2xx_soc_pcm_close,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .hw_params      = pxa2xx_soc_pcm_hw_params,
        .hw_free        = pxa2xx_soc_pcm_hw_free,
        .prepare        = pxa2xx_soc_pcm_prepare,
index 31e81a6f616f1dcc5c493e209d4aa6ccbd3f6564..22fe77955c2cfe8cf721980a0ffe246fbef1e181 100644 (file)
@@ -208,7 +208,6 @@ static const struct snd_soc_component_driver pxa_ac97_component = {
        .pcm_destruct   = pxa2xx_soc_pcm_free,
        .open           = pxa2xx_soc_pcm_open,
        .close          = pxa2xx_soc_pcm_close,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .hw_params      = pxa2xx_soc_pcm_hw_params,
        .hw_free        = pxa2xx_soc_pcm_hw_free,
        .prepare        = pxa2xx_soc_pcm_prepare,
index e77d707efde77782914043a5734fc21d12351765..d9d366a8df1166a3fbe72aae29c9da84372e26a7 100644 (file)
@@ -364,7 +364,6 @@ static const struct snd_soc_component_driver pxa_i2s_component = {
        .pcm_destruct   = pxa2xx_soc_pcm_free,
        .open           = pxa2xx_soc_pcm_open,
        .close          = pxa2xx_soc_pcm_close,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .hw_params      = pxa2xx_soc_pcm_hw_params,
        .hw_free        = pxa2xx_soc_pcm_hw_free,
        .prepare        = pxa2xx_soc_pcm_prepare,
index 07b3455a6f23b4829a60fabcac9512595d068674..2b7839715dd5c2c772bfff3679197f8c007bb623 100644 (file)
@@ -22,7 +22,6 @@ static const struct snd_soc_component_driver pxa2xx_soc_platform = {
        .pcm_destruct   = pxa2xx_soc_pcm_free,
        .open           = pxa2xx_soc_pcm_open,
        .close          = pxa2xx_soc_pcm_close,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .hw_params      = pxa2xx_soc_pcm_hw_params,
        .hw_free        = pxa2xx_soc_pcm_hw_free,
        .prepare        = pxa2xx_soc_pcm_prepare,