ASoC: pxa2xx-i2s: Fix inappropriate release of i2s clock
authorKarl Beldan <karl.beldan@gmail.com>
Wed, 13 May 2009 20:16:52 +0000 (22:16 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 14 May 2009 19:35:31 +0000 (20:35 +0100)
commit9bc04fd1677a956fdd7c5645a09de34ca9a8f1a6
treec48965abc656afe51755f3a0ac970f1867f52ca3
parent34555c1077ac8f4854e0db9ad11b989a6908d210
ASoC: pxa2xx-i2s: Fix inappropriate release of i2s clock

i2s_clk is 'put' for no reason in pxa2xx_i2s_shutdown.
Now we 'get' i2s_clk at probe and 'put' it at driver removal or when
probe fails.

Signed-off-by: Karl Beldan <karl.beldan@mobile-devices.fr>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/pxa2xx-i2s.c