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

ASoC: intel: Drop superfluous ioctl PCM ops

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

Cc: Cezary Rojewski <cezary.rojewski@intel.com>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Cc: Jie Yang <yang.jie@linux.intel.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191210145406.21419-8-tiwai@suse.deSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6ac44ce9
...@@ -705,7 +705,6 @@ static const struct snd_soc_component_driver sst_soc_platform_drv = { ...@@ -705,7 +705,6 @@ static const struct snd_soc_component_driver sst_soc_platform_drv = {
.probe = sst_soc_probe, .probe = sst_soc_probe,
.remove = sst_soc_remove, .remove = sst_soc_remove,
.open = sst_soc_open, .open = sst_soc_open,
.ioctl = snd_soc_pcm_lib_ioctl,
.trigger = sst_soc_trigger, .trigger = sst_soc_trigger,
.pointer = sst_soc_pointer, .pointer = sst_soc_pointer,
.compr_ops = &sst_platform_compr_ops, .compr_ops = &sst_platform_compr_ops,
......
...@@ -373,7 +373,6 @@ static const struct snd_soc_component_driver byt_dai_component = { ...@@ -373,7 +373,6 @@ static const struct snd_soc_component_driver byt_dai_component = {
.probe = sst_byt_pcm_probe, .probe = sst_byt_pcm_probe,
.open = sst_byt_pcm_open, .open = sst_byt_pcm_open,
.close = sst_byt_pcm_close, .close = sst_byt_pcm_close,
.ioctl = snd_soc_pcm_lib_ioctl,
.hw_params = sst_byt_pcm_hw_params, .hw_params = sst_byt_pcm_hw_params,
.hw_free = sst_byt_pcm_hw_free, .hw_free = sst_byt_pcm_hw_free,
.trigger = sst_byt_pcm_trigger, .trigger = sst_byt_pcm_trigger,
......
...@@ -1117,7 +1117,6 @@ static const struct snd_soc_component_driver hsw_dai_component = { ...@@ -1117,7 +1117,6 @@ static const struct snd_soc_component_driver hsw_dai_component = {
.hw_free = hsw_pcm_hw_free, .hw_free = hsw_pcm_hw_free,
.trigger = hsw_pcm_trigger, .trigger = hsw_pcm_trigger,
.pointer = hsw_pcm_pointer, .pointer = hsw_pcm_pointer,
.ioctl = snd_soc_pcm_lib_ioctl,
.pcm_construct = hsw_pcm_new, .pcm_construct = hsw_pcm_new,
.controls = hsw_volume_controls, .controls = hsw_volume_controls,
.num_controls = ARRAY_SIZE(hsw_volume_controls), .num_controls = ARRAY_SIZE(hsw_volume_controls),
......
...@@ -1477,7 +1477,6 @@ static const struct snd_soc_component_driver skl_component = { ...@@ -1477,7 +1477,6 @@ static const struct snd_soc_component_driver skl_component = {
.probe = skl_platform_soc_probe, .probe = skl_platform_soc_probe,
.remove = skl_platform_soc_remove, .remove = skl_platform_soc_remove,
.open = skl_platform_soc_open, .open = skl_platform_soc_open,
.ioctl = snd_soc_pcm_lib_ioctl,
.trigger = skl_platform_soc_trigger, .trigger = skl_platform_soc_trigger,
.pointer = skl_platform_soc_pointer, .pointer = skl_platform_soc_pointer,
.get_time_info = skl_platform_soc_get_time_info, .get_time_info = skl_platform_soc_get_time_info,
......
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