]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf519ed085137659b86fb00510530609e6b998603
tree07b3ed273fe8290ce1804edb13ffce6ea7749b8c
parent9352edb027a2bbd912c128b9104822c592047e6b
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