OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34555c1
)
ASoC: pxa2xx-i2s: Fix inappropriate release of i2s clock
author
Karl Beldan
<karl.beldan@gmail.com>
Wed, 13 May 2009 20:16:52 +0000
(22:16 +0200)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Thu, 14 May 2009 19:35:31 +0000
(20:35 +0100)
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
patch
|
blob
|
history
diff --git
a/sound/soc/pxa/pxa2xx-i2s.c
b/sound/soc/pxa/pxa2xx-i2s.c
index
115b471
..
bc12a09
100644
(file)
--- a/
sound/soc/pxa/pxa2xx-i2s.c
+++ b/
sound/soc/pxa/pxa2xx-i2s.c
@@
-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