Skip to contentSkip to conversation

pxa2xx-i2s: Fix inappropriate release of i2s clock

PATCH In review Karl Beldan 1 participant 1 message May 13, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 3/4 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.

---
 sound/soc/pxa/pxa2xx-i2s.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
sound/soc/pxa/pxa2xx-i2s.c +0 -0
index a461c8d..a423637 100644
@@ -257,8 +257,6 @@ static void pxa2xx_i2s_shutdown(struct snd_pcm_substream

*substream,
pxa_i2s_wait();
clk_disable(clk_i2s);
}
-
- clk_put(clk_i2s);
}

#ifdef CONFIG_PM

Signature · 4 lines
1.6.3.rc1.34.g0be9b

-- 
Karl