drm/rockchip: dw-mipi-dsi: only request HS clock when required
authorJohn Keeping <john@metanate.com>
Fri, 24 Feb 2017 12:54:52 +0000 (12:54 +0000)
committerSean Paul <seanpaul@chromium.org>
Wed, 1 Mar 2017 19:48:52 +0000 (14:48 -0500)
commit7361c6f82940db147e6bbfd3ae2b8359d1004020
tree07b3ed273fe8290ce1804edb13ffce6ea7749b8c
parent52c66e4f6e28f37239f21ed1b79c341d33f49655
drm/rockchip: dw-mipi-dsi: only request HS clock when required

Requesting the HS clock from the PHY before we initialize it causes an
invalid signal to be sent out since the input clock is not yet
configured.  The PHY databook suggests only asserting this signal when
performing HS transfers, so let's do that.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-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/20170224125506.21533-10-john@metanate.com
drivers/gpu/drm/rockchip/dw-mipi-dsi.c