Commit a984e214 authored by Takashi Iwai's avatar Takashi Iwai Committed by Mark Brown

ASoC: meson: Drop superfluous ioctl PCM ops

ASoC PCM core deals the empty ioctl field now as default.
Let's kill the redundant lines.

Cc: Jerome Brunet <jbrunet@baylibre.com>
Cc: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Acked-by: default avatarJerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20191210145406.21419-11-tiwai@suse.deSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent a1b175b0
...@@ -151,7 +151,6 @@ static const struct snd_soc_component_driver axg_frddr_component_drv = { ...@@ -151,7 +151,6 @@ static const struct snd_soc_component_driver axg_frddr_component_drv = {
.num_dapm_routes = ARRAY_SIZE(axg_frddr_dapm_routes), .num_dapm_routes = ARRAY_SIZE(axg_frddr_dapm_routes),
.open = axg_fifo_pcm_open, .open = axg_fifo_pcm_open,
.close = axg_fifo_pcm_close, .close = axg_fifo_pcm_close,
.ioctl = snd_soc_pcm_lib_ioctl,
.hw_params = axg_fifo_pcm_hw_params, .hw_params = axg_fifo_pcm_hw_params,
.hw_free = axg_fifo_pcm_hw_free, .hw_free = axg_fifo_pcm_hw_free,
.pointer = axg_fifo_pcm_pointer, .pointer = axg_fifo_pcm_pointer,
...@@ -275,7 +274,6 @@ static const struct snd_soc_component_driver g12a_frddr_component_drv = { ...@@ -275,7 +274,6 @@ static const struct snd_soc_component_driver g12a_frddr_component_drv = {
.num_dapm_routes = ARRAY_SIZE(g12a_frddr_dapm_routes), .num_dapm_routes = ARRAY_SIZE(g12a_frddr_dapm_routes),
.open = axg_fifo_pcm_open, .open = axg_fifo_pcm_open,
.close = axg_fifo_pcm_close, .close = axg_fifo_pcm_close,
.ioctl = snd_soc_pcm_lib_ioctl,
.hw_params = g12a_fifo_pcm_hw_params, .hw_params = g12a_fifo_pcm_hw_params,
.hw_free = axg_fifo_pcm_hw_free, .hw_free = axg_fifo_pcm_hw_free,
.pointer = axg_fifo_pcm_pointer, .pointer = axg_fifo_pcm_pointer,
...@@ -345,7 +343,6 @@ static const struct snd_soc_component_driver sm1_frddr_component_drv = { ...@@ -345,7 +343,6 @@ static const struct snd_soc_component_driver sm1_frddr_component_drv = {
.num_dapm_routes = ARRAY_SIZE(g12a_frddr_dapm_routes), .num_dapm_routes = ARRAY_SIZE(g12a_frddr_dapm_routes),
.open = axg_fifo_pcm_open, .open = axg_fifo_pcm_open,
.close = axg_fifo_pcm_close, .close = axg_fifo_pcm_close,
.ioctl = snd_soc_pcm_lib_ioctl,
.hw_params = g12a_fifo_pcm_hw_params, .hw_params = g12a_fifo_pcm_hw_params,
.hw_free = axg_fifo_pcm_hw_free, .hw_free = axg_fifo_pcm_hw_free,
.pointer = axg_fifo_pcm_pointer, .pointer = axg_fifo_pcm_pointer,
......
...@@ -183,7 +183,6 @@ static const struct snd_soc_component_driver axg_toddr_component_drv = { ...@@ -183,7 +183,6 @@ static const struct snd_soc_component_driver axg_toddr_component_drv = {
.num_dapm_routes = ARRAY_SIZE(axg_toddr_dapm_routes), .num_dapm_routes = ARRAY_SIZE(axg_toddr_dapm_routes),
.open = axg_fifo_pcm_open, .open = axg_fifo_pcm_open,
.close = axg_fifo_pcm_close, .close = axg_fifo_pcm_close,
.ioctl = snd_soc_pcm_lib_ioctl,
.hw_params = axg_fifo_pcm_hw_params, .hw_params = axg_fifo_pcm_hw_params,
.hw_free = axg_fifo_pcm_hw_free, .hw_free = axg_fifo_pcm_hw_free,
.pointer = axg_fifo_pcm_pointer, .pointer = axg_fifo_pcm_pointer,
...@@ -222,7 +221,6 @@ static const struct snd_soc_component_driver g12a_toddr_component_drv = { ...@@ -222,7 +221,6 @@ static const struct snd_soc_component_driver g12a_toddr_component_drv = {
.num_dapm_routes = ARRAY_SIZE(axg_toddr_dapm_routes), .num_dapm_routes = ARRAY_SIZE(axg_toddr_dapm_routes),
.open = axg_fifo_pcm_open, .open = axg_fifo_pcm_open,
.close = axg_fifo_pcm_close, .close = axg_fifo_pcm_close,
.ioctl = snd_soc_pcm_lib_ioctl,
.hw_params = g12a_fifo_pcm_hw_params, .hw_params = g12a_fifo_pcm_hw_params,
.hw_free = axg_fifo_pcm_hw_free, .hw_free = axg_fifo_pcm_hw_free,
.pointer = axg_fifo_pcm_pointer, .pointer = axg_fifo_pcm_pointer,
...@@ -292,7 +290,6 @@ static const struct snd_soc_component_driver sm1_toddr_component_drv = { ...@@ -292,7 +290,6 @@ static const struct snd_soc_component_driver sm1_toddr_component_drv = {
.num_dapm_routes = ARRAY_SIZE(sm1_toddr_dapm_routes), .num_dapm_routes = ARRAY_SIZE(sm1_toddr_dapm_routes),
.open = axg_fifo_pcm_open, .open = axg_fifo_pcm_open,
.close = axg_fifo_pcm_close, .close = axg_fifo_pcm_close,
.ioctl = snd_soc_pcm_lib_ioctl,
.hw_params = g12a_fifo_pcm_hw_params, .hw_params = g12a_fifo_pcm_hw_params,
.hw_free = axg_fifo_pcm_hw_free, .hw_free = axg_fifo_pcm_hw_free,
.pointer = axg_fifo_pcm_pointer, .pointer = axg_fifo_pcm_pointer,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment