From 6321294fd38dda4c0d0fc3aa3547e713c79709fe Mon Sep 17 00:00:00 2001 From: Zheng Yang Date: Tue, 27 Jun 2017 14:10:51 +0800 Subject: [PATCH] drm: bridge: dw-hdmi: correct the judgment condition of curr_ctrl The judgment condition of curr_ctrl is curr_ctrl->mpixelclock. It is a hand mistake of commit <594a077e31e8b1ff0bd192e9af702fecaeea31ba>, when patch(https://patchwork.kernel.org/patch/9603303) is merged. Change-Id: I40b150e4f166aa4ca05c078f52347764bdd1fd01 Signed-off-by: Zheng Yang --- drivers/gpu/drm/bridge/dw-hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/dw-hdmi.c b/drivers/gpu/drm/bridge/dw-hdmi.c index 47b672256003..d1965166f46a 100644 --- a/drivers/gpu/drm/bridge/dw-hdmi.c +++ b/drivers/gpu/drm/bridge/dw-hdmi.c @@ -1415,7 +1415,7 @@ static int hdmi_phy_configure_dwc_hdmi_3d_tx(struct dw_hdmi *hdmi, break; for (; curr_ctrl->mpixelclock != ~0UL; curr_ctrl++) - if (mpixelclock <= mpll_config->mpixelclock) + if (mpixelclock <= curr_ctrl->mpixelclock) break; for (; phy_config->mpixelclock != ~0UL; phy_config++) -- 2.34.1