projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1be5a5
)
ASoC: dapm: use clk_prepare_enable and clk_disable_unprepare
author
Fabio Baltieri
<fabio.baltieri@linaro.org>
Tue, 30 Apr 2013 14:09:52 +0000
(16:09 +0200)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 30 Apr 2013 18:31:30 +0000
(19:31 +0100)
Update dapm_clock_event to use clk_prepare_enable and
clk_disable_unprepare.
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-dapm.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-dapm.c
b/sound/soc/soc-dapm.c
index
d6d9ba2
..
41b8b8e
100644
(file)
--- a/
sound/soc/soc-dapm.c
+++ b/
sound/soc/soc-dapm.c
@@
-1070,9
+1070,9
@@
int dapm_clock_event(struct snd_soc_dapm_widget *w,
#ifdef CONFIG_HAVE_CLK
if (SND_SOC_DAPM_EVENT_ON(event)) {
- return clk_enable(w->clk);
+ return clk_
prepare_
enable(w->clk);
} else {
- clk_disable(w->clk);
+ clk_disable
_unprepare
(w->clk);
return 0;
}
#endif