From: Fabio Estevam Subject: [PATCH 2/2] ASoC: fsl_ssi: Do not print 'baud clock' error message all the time Date: Mon, 20 Jan 2014 17:35:39 -0200 Message-ID: <1390246540-23082-1-git-send-email-festevam@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-gg0-f170.google.com (mail-gg0-f170.google.com [209.85.161.170]) by alsa0.perex.cz (Postfix) with ESMTP id 2D7E32617A6 for ; Mon, 20 Jan 2014 20:35:58 +0100 (CET) Received: by mail-gg0-f170.google.com with SMTP id l4so2312698ggi.29 for ; Mon, 20 Jan 2014 11:35:55 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: broonie@kernel.org Cc: Fabio Estevam , alsa-devel@alsa-project.org, b42378@freescale.com List-Id: alsa-devel@alsa-project.org From: Fabio Estevam 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 --- sound/soc/fsl/fsl_ssi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 7b1772d..3155611 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -1407,7 +1407,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); -- 1.8.1.2