ASoC: fsl_ssi: Do not print 'baud clock' error message all the time
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 20 Jan 2014 19:35:39 +0000 (17:35 -0200)
committerMark Brown <broonie@linaro.org>
Tue, 21 Jan 2014 18:48:35 +0000 (18:48 +0000)
Currently everytime we get the following message on boot:

fsl-ssi-dai 202c000.ssi: could not get baud clock: -2

This is not really useful information to get on every boot, so make it a debug
message instead.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/fsl_ssi.c

index c520569..1c791dd 100644 (file)
@@ -1386,7 +1386,7 @@ 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: %ld\n",
+                       dev_dbg(&pdev->dev, "could not get baud clock: %ld\n",
                                 PTR_ERR(ssi_private->baudclk));
                else
                        clk_prepare_enable(ssi_private->baudclk);