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

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191210145406.21419-15-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/dma-sh7760.c
sound/soc/sh/fsi.c
sound/soc/sh/rcar/core.c
sound/soc/sh/siu_pcm.c

index 4d0f2f738ffaab93746960b482ac1d9f586c678f..eee1a1e994cbb55adb8f9c43a7b214ae19df064c 100644 (file)
@@ -307,7 +307,6 @@ static int camelot_pcm_new(struct snd_soc_component *component,
 static const struct snd_soc_component_driver sh7760_soc_component = {
        .open           = camelot_pcm_open,
        .close          = camelot_pcm_close,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .hw_params      = camelot_hw_params,
        .prepare        = camelot_prepare,
        .trigger        = camelot_trigger,
index 1cebddd76d12ea11bd2cffcc1cb5a1c8dab0d42c..89119acfa91171b94e353048c72dcecbc8d479a8 100644 (file)
@@ -1801,7 +1801,6 @@ static struct snd_soc_dai_driver fsi_soc_dai[] = {
 static const struct snd_soc_component_driver fsi_soc_component = {
        .name           = "fsi",
        .open           = fsi_pcm_open,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .pointer        = fsi_pointer,
        .pcm_construct  = fsi_pcm_new,
 };
index 3dfc02092f766d3f35d18bae583792eab68675fe..0bfcb77e5f65877c5090ba1b3c49f16e807572ba 100644 (file)
@@ -1652,7 +1652,6 @@ int rsnd_kctrl_new(struct rsnd_mod *mod,
  */
 static const struct snd_soc_component_driver rsnd_soc_component = {
        .name           = "rsnd",
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .hw_params      = rsnd_hw_params,
        .hw_free        = rsnd_hw_free,
        .pointer        = rsnd_pointer,
index 65637ad9363025c40b6ed49659b78c5969c99a6b..6a6ffd6d31925072c8a9a2c0cc6c71ca3bd809d7 100644 (file)
@@ -548,7 +548,6 @@ struct const snd_soc_component_driver siu_component = {
        .name           = DRV_NAME,
        .open           = siu_pcm_open,
        .close          = siu_pcm_close,
-       .ioctl          = snd_soc_pcm_lib_ioctl,
        .prepare        = siu_pcm_prepare,
        .trigger        = siu_pcm_trigger,
        .pointer        = siu_pcm_pointer_dma,