drm/rockchip/dsi: enable the grf clk before writing grf registers
authorChris Zhong <zyw@rock-chips.com>
Wed, 22 Mar 2017 01:54:50 +0000 (09:54 +0800)
committerSean Paul <seanpaul@chromium.org>
Fri, 24 Mar 2017 18:48:58 +0000 (14:48 -0400)
commit5bc07b1569022b403be2f92777430345dbbe39e4
treeb4573d1cab29a0a21d3035300bf569b217b93d22
parentd3dffdc260d79026f385d6b52d2ec7b6cda559fc
drm/rockchip/dsi: enable the grf clk before writing grf registers

For RK3399, the grf clk should be enabled before writing grf registers,
otherwise the register value can not be changed.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1490147691-4489-4-git-send-email-zyw@rock-chips.com
drivers/gpu/drm/rockchip/dw-mipi-dsi.c