projects
/
GitHub
/
moto-9609
/
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:
aafa85e
)
ASoC: fsl_ssi: Fix printing return code on clk error
author
Alexander Shiyan
<shc_work@mail.ru>
Sun, 5 Jan 2014 06:21:16 +0000
(10:21 +0400)
committer
Mark Brown
<broonie@linaro.org>
Mon, 6 Jan 2014 13:19:56 +0000
(13:19 +0000)
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/fsl_ssi.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/fsl/fsl_ssi.c
b/sound/soc/fsl/fsl_ssi.c
index b2ebaf811599d7fd3d94ef08e0e9b9d9bb8e947e..6e3d38a8528041ec1e0ecc013db7919f3b9ccc3f 100644
(file)
--- a/
sound/soc/fsl/fsl_ssi.c
+++ b/
sound/soc/fsl/fsl_ssi.c
@@
-1176,7
+1176,8
@@
static int fsl_ssi_probe(struct platform_device *pdev)
*/
ssi_private->baudclk = devm_clk_get(&pdev->dev, "baud");
if (IS_ERR(ssi_private->baudclk))
- dev_warn(&pdev->dev, "could not get baud clock: %d\n", ret);
+ dev_warn(&pdev->dev, "could not get baud clock: %d\n",
+ PTR_ERR(ssi_private->baudclk));
else
clk_prepare_enable(ssi_private->baudclk);