From: xuhuicong Date: Mon, 17 Apr 2017 07:43:59 +0000 (+0800) Subject: drm/rockchip: fix hdmi no display when resume or switch resolution X-Git-Tag: release-20171130_firefly~4^2~809 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1319af9010d78d9c320fcd5eeb1c8a5da5a8c485;p=firefly-linux-kernel-4.4.55.git drm/rockchip: fix hdmi no display when resume or switch resolution spelling mistake cause hdmi phy configure error, now correct it Change-Id: I548d76dd44e8d39e35b95138ec3d25b358cf3376 Signed-off-by: xuhuicong --- diff --git a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c index 65cc55a86478..81af1747566b 100644 --- a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c +++ b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c @@ -244,7 +244,7 @@ static int rockchip_hdmi_parse_dt(struct rockchip_hdmi *hdmi) return -ENOMEM; } phy_table_size = val / 16; - of_property_read_u32_array(np, "rockchip,phy_table", + of_property_read_u32_array(np, "rockchip,phy-table", phy_config, val / sizeof(u32)); ret = rockchip_hdmi_update_phy_table(hdmi, phy_config, phy_table_size);