drm/rockchip: dw-mipi-dsi: don't configure hardware in mode_set for MIPI
authorJohn Keeping <john@metanate.com>
Fri, 24 Feb 2017 12:54:44 +0000 (12:54 +0000)
committerSean Paul <seanpaul@chromium.org>
Wed, 1 Mar 2017 19:48:48 +0000 (14:48 -0500)
commit5e408d7a28513ffa4a4fdab77f917a1123851cf7
tree95780790f5f3174ded96d8824ec534e26fe4e1a8
parent233ce881dd91fb13eb6b09deefae33168e6ead4c
drm/rockchip: dw-mipi-dsi: don't configure hardware in mode_set for MIPI

With atomic modesetting the hardware will be powered off when the
mode_set function is called.  We should configure the hardware in the
enable function, which is the atomic version of "commit" so let's use
the enable hook rather than commit while we're at it.

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