drm/rockchip: dw-mipi-dsi: only request HS clock when required
authorxubilv <xbl@rock-chips.com>
Tue, 18 Jul 2017 02:29:17 +0000 (10:29 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 20 Jul 2017 11:19:15 +0000 (19:19 +0800)
commit6d82179b6f6109ca609b49c470bb9c585ca697f0
tree2bae7e99b0618be128e72899920908fcdaf5733d
parentf797759ff5f9ca9829a63ad06aae5ebc7cf27a6a
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.

Change-Id: I7006f81d8c620dc84e84f99383c7b5414d6ac12d
Signed-off-by: xubilv <xbl@rock-chips.com>
drivers/gpu/drm/rockchip/dw-mipi-dsi.c