ASoC: e740_wm9705 - free gpio in e740_exit()
authorAxel Lin <axel.lin@gmail.com>
Thu, 19 Aug 2010 06:40:25 +0000 (14:40 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 20 Aug 2010 11:14:44 +0000 (12:14 +0100)
commitb67696b40f2e7f890d017db3c6805ff90cb392b6
tree82c398f363ce730e445bb3672e2c8bfeac42e48c
parent5394637a246f4709e6f9c62b6af2356f49ef46a7
ASoC: e740_wm9705 - free gpio in e740_exit()

In e740_init(), we call gpio_request() for
GPIO_E740_MIC_ON, GPIO_E740_AMP_ON and GPIO_E740_WM9705_nAVDD2.
We should free the these gpio accordingly in e740_exit().

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/e740_wm9705.c