From: Zheng Yang Date: Tue, 27 Jun 2017 03:36:43 +0000 (+0800) Subject: drm: bridge: dw-hdmi: correct the judgment condition of pll_config X-Git-Tag: release-20171130_firefly~4^2~307 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=20a9024d3dda9786e21a14b796119f1294886e12;p=firefly-linux-kernel-4.4.55.git drm: bridge: dw-hdmi: correct the judgment condition of pll_config The judgment condition of pll_config is phy_config->mpixelclock. It is a hand mistake of commit <594a077e31e8b1ff0bd192e9af702fecaeea31ba>. Change-Id: I7e312fd3b7982ca4fdf610e577776bc5a45c4bde Signed-off-by: Zheng Yang --- diff --git a/drivers/gpu/drm/bridge/dw-hdmi.c b/drivers/gpu/drm/bridge/dw-hdmi.c index 1ad15af799a3..47b672256003 100644 --- a/drivers/gpu/drm/bridge/dw-hdmi.c +++ b/drivers/gpu/drm/bridge/dw-hdmi.c @@ -1419,7 +1419,7 @@ static int hdmi_phy_configure_dwc_hdmi_3d_tx(struct dw_hdmi *hdmi, break; for (; phy_config->mpixelclock != ~0UL; phy_config++) - if (mpixelclock <= mpll_config->mpixelclock) + if (mpixelclock <= phy_config->mpixelclock) break; if (mpll_config->mpixelclock == ~0UL ||