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:
f59fef4
)
ASoC: dapm: Use devm_clk_get()
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 4 Jun 2012 07:14:13 +0000
(08:14 +0100)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 4 Jun 2012 09:49:11 +0000
(10:49 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/soc-dapm.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-dapm.c
b/sound/soc/soc-dapm.c
index
3bb7a6f
..
a66379a
100644
(file)
--- a/
sound/soc/soc-dapm.c
+++ b/
sound/soc/soc-dapm.c
@@
-2902,7
+2902,7
@@
snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm,
}
break;
case snd_soc_dapm_clock_supply:
- w->clk = clk_get(dapm->dev, w->name);
+ w->clk =
devm_
clk_get(dapm->dev, w->name);
if (IS_ERR(w->clk)) {
ret = PTR_ERR(w->clk);
dev_err(dapm->dev, "Failed to request %s: %d\n",