OSDN Git Service

ASoC: Fix wrong argument for card remove callbacks
authorTakashi Iwai <tiwai@suse.de>
Tue, 3 Jun 2014 10:31:46 +0000 (12:31 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 3 Jun 2014 10:52:21 +0000 (12:52 +0200)
commit16088cb6c02d0b766b9b8d7edff98da7f1c93205
tree0628c45d6c575362fc99c318309565bd17805432
parent8743dcd6639c28204ac03fb3e9db7932e3d85418
ASoC: Fix wrong argument for card remove callbacks

The commit [e1d4d3c8: ASoC: free jack GPIOs before the sound card is
freed] introduced snd_soc_card remove callbacks to a few drivers, but
they are implemented with a wrong argument type.  The callback should
receive snd_soc_card pointer instead of snd_soc_pcm_runtime.

Fixes: e1d4d3c854f2 ('ASoC: free jack GPIOs before the sound card is freed')
Acked-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/omap/ams-delta.c
sound/soc/omap/omap-twl4030.c
sound/soc/omap/rx51.c
sound/soc/pxa/hx4700.c
sound/soc/samsung/h1940_uda1380.c
sound/soc/samsung/rx1950_uda1380.c
sound/soc/samsung/smartq_wm8987.c