aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-01-05 01:21:16 -0500
committerMark Brown <broonie@linaro.org>2014-01-06 08:19:56 -0500
commit6873ee464a9fd23f0b7c2ab38e4ab8cea02cb50d (patch)
tree55d3797d6582d7b6d796019b34e28e83ee1e9855 /sound/soc/fsl
parentaafa85e71a75fdea9076c5e0f7fe09e12568c9a4 (diff)
ASoC: fsl_ssi: Fix printing return code on clk error
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r--sound/soc/fsl/fsl_ssi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c
index b2ebaf811599..6e3d38a85280 100644
--- 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)
1176 */ 1176 */
1177 ssi_private->baudclk = devm_clk_get(&pdev->dev, "baud"); 1177 ssi_private->baudclk = devm_clk_get(&pdev->dev, "baud");
1178 if (IS_ERR(ssi_private->baudclk)) 1178 if (IS_ERR(ssi_private->baudclk))
1179 dev_warn(&pdev->dev, "could not get baud clock: %d\n", ret); 1179 dev_warn(&pdev->dev, "could not get baud clock: %d\n",
1180 PTR_ERR(ssi_private->baudclk));
1180 else 1181 else
1181 clk_prepare_enable(ssi_private->baudclk); 1182 clk_prepare_enable(ssi_private->baudclk);
1182 1183