projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
507d466
)
ASoC: rcar: use devm_clk_get() instead of clk_get()
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Wed, 4 Dec 2013 06:09:33 +0000
(22:09 -0800)
committer
Mark Brown
<broonie@linaro.org>
Wed, 4 Dec 2013 11:50:04 +0000
(11:50 +0000)
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/sh/rcar/ssi.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/sh/rcar/ssi.c
b/sound/soc/sh/rcar/ssi.c
index 477465f9507b975d19cb70a96d6cc9dbc9f4df92..82b04c6f352dedbca7d9be6fa9f5214b04cd9557 100644
(file)
--- a/
sound/soc/sh/rcar/ssi.c
+++ b/
sound/soc/sh/rcar/ssi.c
@@
-652,7
+652,7
@@
int rsnd_ssi_probe(struct platform_device *pdev,
snprintf(name, RSND_SSI_NAME_SIZE, "ssi.%d", i);
- clk = clk_get(dev, name);
+ clk =
devm_
clk_get(dev, name);
if (IS_ERR(clk))
return PTR_ERR(clk);
@@
-713,7
+713,6
@@
void rsnd_ssi_remove(struct platform_device *pdev,
int i;
for_each_rsnd_ssi(ssi, priv, i) {
- clk_put(ssi->clk);
if (rsnd_ssi_dma_available(ssi))
rsnd_dma_quit(priv, rsnd_mod_to_dma(&ssi->mod));
}