Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6873ee46 authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Mark Brown
Browse files

ASoC: fsl_ssi: Fix printing return code on clk error

parent aafa85e7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);