OSDN Git Service

drm/bridge: ti-sn65dsi86: Move panel_prepare() to pre_enable()
authorSean Paul <seanpaul@chromium.org>
Mon, 13 Aug 2018 21:30:43 +0000 (17:30 -0400)
committerSean Paul <seanpaul@chromium.org>
Tue, 14 Aug 2018 18:05:47 +0000 (14:05 -0400)
commit73c89ead71859af7f439ac983e9e6f610448d44e
tree7512a45d416c5872dead50652d2d84ce5b20b93d
parentb814ec6d453577727e4911331c4e182d80e9ad18
drm/bridge: ti-sn65dsi86: Move panel_prepare() to pre_enable()

prepare() is the old-timey way to say pre_enable(). It should be called
before modeset. This fixes an issue where the panel on cheza must have
the regulator always-on/boot-on for it to work.

Changes in v3:
- Added to the set

Cc: Sandeep Panda <spanda@codeaurora.org>
Reviewed-by: Sandeep Panda <spanda@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180813213058.184821-5-sean@poorly.run
drivers/gpu/drm/bridge/ti-sn65dsi86.c