From: Sandor Yu Date: Wed, 5 Sep 2012 03:17:32 +0000 (+0800) Subject: ENGR00221854 HDMI: suspend/resume hdmi_phy fail to lock. X-Git-Tag: v3.0.35-fsl~499 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5159a2b23a62f1e76ee07096b3170d6ec34325da;p=karo-tx-linux.git ENGR00221854 HDMI: suspend/resume hdmi_phy fail to lock. HDMI PHY init function will been called four times during system resume. The first call before pixel clock enable, so it will print PHY PLL unlock message, but the PHY PLL will locked in the next three times called. It will not affect HDMI PHY function. Change message print function dev_err to dev_dbg. Signed-off-by: Sandor Yu --- diff --git a/drivers/video/mxc_hdmi.c b/drivers/video/mxc_hdmi.c index 1832a5998d2d..e9c05477a055 100644 --- a/drivers/video/mxc_hdmi.c +++ b/drivers/video/mxc_hdmi.c @@ -1070,7 +1070,7 @@ static int hdmi_phy_configure(struct mxc_hdmi *hdmi, unsigned char pRep, while (val == 0) { udelay(1000); if (msec-- == 0) { - dev_err(&hdmi->pdev->dev, "PHY PLL not locked\n"); + dev_dbg(&hdmi->pdev->dev, "PHY PLL not locked\n"); return false; } val = hdmi_readb(HDMI_PHY_STAT0) & HDMI_PHY_TX_PHY_LOCK;