summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/smartq_wm8987.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-11-26 07:53:38 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-29 12:01:02 +0100
commit3790f205465f5c47a3629129af875c94f61f1fd3 (patch)
treead3655a3a03e29d50c4bfef715448bc7f1de6a78 /sound/soc/samsung/smartq_wm8987.c
parentASoC: Fix resource leak in neo1973_gta02_init() error path (diff)
downloadlinux-3790f205465f5c47a3629129af875c94f61f1fd3.tar.xz
linux-3790f205465f5c47a3629129af875c94f61f1fd3.zip
ASoC: Add missing gpio_free(S3C64XX_GPK(12)) in smartq_exit()
Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/samsung/smartq_wm8987.c')
-rw-r--r--sound/soc/samsung/smartq_wm8987.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/samsung/smartq_wm8987.c b/sound/soc/samsung/smartq_wm8987.c
index 0a46fa8730d1..61e2b5219d42 100644
--- a/sound/soc/samsung/smartq_wm8987.c
+++ b/sound/soc/samsung/smartq_wm8987.c
@@ -274,6 +274,7 @@ err_unregister_device:
static void __exit smartq_exit(void)
{
+ gpio_free(S3C64XX_GPK(12));
snd_soc_jack_free_gpios(&smartq_jack, ARRAY_SIZE(smartq_jack_gpios),
smartq_jack_gpios);