forked from Minki/linux
ASoC: pxa: Drop superfluous ioctl PCM ops
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>
This commit is contained in:
parent
a984e214de
commit
92e63b5528
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user