projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77845b1
)
ASoC: imx-sgtl5000: Use devm_clk_get()
author
Fabio Estevam
<fabio.estevam@freescale.com>
Mon, 10 Jun 2013 16:26:05 +0000
(13:26 -0300)
committer
Mark Brown
<broonie@linaro.org>
Wed, 12 Jun 2013 15:06:48 +0000
(16:06 +0100)
Commit
9e13f345
(ASoC: sgtl5000: Let the codec acquire its clock) removed the
clk_put calls.
Let's use devm_clk_get() instead, so that we do not need to call them anymore.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/imx-sgtl5000.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/imx-sgtl5000.c
b/sound/soc/fsl/imx-sgtl5000.c
index 823151b7653b17a1f189442798630307bb11820e..7a8bc1220b2e52ace3eec9a6e928184c27546cdb 100644
(file)
--- a/
sound/soc/fsl/imx-sgtl5000.c
+++ b/
sound/soc/fsl/imx-sgtl5000.c
@@
-128,7
+128,7
@@
static int imx_sgtl5000_probe(struct platform_device *pdev)
goto fail;
}
- data->codec_clk = clk_get(&codec_dev->dev, NULL);
+ data->codec_clk =
devm_
clk_get(&codec_dev->dev, NULL);
if (IS_ERR(data->codec_clk))
goto fail;