drm/msm/dsi: Simplify the logic in msm_dsi_manager_panel_init()
authorSean Paul <seanpaul@chromium.org>
Mon, 17 Jun 2019 20:12:55 +0000 (16:12 -0400)
committerSean Paul <seanpaul@chromium.org>
Thu, 20 Jun 2019 18:42:13 +0000 (14:42 -0400)
commitfaccd71cec5516b1f79e8b40757563617c886171
tree3e4b15935f797cfaa0cb2c450ceeff6d12a59e70
parent4f229b41386fbf290505411964c8ed25f48e1656
drm/msm/dsi: Simplify the logic in msm_dsi_manager_panel_init()

This patch moves things around a bit to be a little more readable and
pulls out the set_encoder_mode() call into its own function for later
use.

Reviewed-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190617201301.133275-7-sean@poorly.run
drivers/gpu/drm/msm/dsi/dsi_manager.c