Commit 66a7caaf authored by Takashi Iwai's avatar Takashi Iwai Committed by Mark Brown

ASoC: amd: Drop superfluous ioctl PCM ops

ASoC PCM core deals the empty ioctl field now as default.
Let's kill the redundant lines.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191210145406.21419-2-tiwai@suse.deSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 7f4aee8f
...@@ -1202,7 +1202,6 @@ static const struct snd_soc_component_driver acp_asoc_platform = { ...@@ -1202,7 +1202,6 @@ static const struct snd_soc_component_driver acp_asoc_platform = {
.name = DRV_NAME, .name = DRV_NAME,
.open = acp_dma_open, .open = acp_dma_open,
.close = acp_dma_close, .close = acp_dma_close,
.ioctl = snd_soc_pcm_lib_ioctl,
.hw_params = acp_dma_hw_params, .hw_params = acp_dma_hw_params,
.trigger = acp_dma_trigger, .trigger = acp_dma_trigger,
.pointer = acp_dma_pointer, .pointer = acp_dma_pointer,
......
...@@ -582,7 +582,6 @@ static const struct snd_soc_component_driver acp3x_i2s_component = { ...@@ -582,7 +582,6 @@ static const struct snd_soc_component_driver acp3x_i2s_component = {
.name = DRV_NAME, .name = DRV_NAME,
.open = acp3x_dma_open, .open = acp3x_dma_open,
.close = acp3x_dma_close, .close = acp3x_dma_close,
.ioctl = snd_soc_pcm_lib_ioctl,
.hw_params = acp3x_dma_hw_params, .hw_params = acp3x_dma_hw_params,
.pointer = acp3x_dma_pointer, .pointer = acp3x_dma_pointer,
.mmap = acp3x_dma_mmap, .mmap = acp3x_dma_mmap,
......
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