diff options
author | Hsin-Yi, Wang <hsinyi@chromium.org> | 2019-01-09 07:59:22 +0100 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2019-01-22 22:49:15 +0100 |
commit | 46f3ceaffa81e846677bca8668e0ad40e643cffd (patch) | |
tree | ea9c56e052640c3b478edf3db3f5b6bcd327d836 /Documentation/devicetree/bindings/display/bridge | |
parent | drm/dp: Implement I2C_M_STOP for i2c-over-aux (diff) | |
download | linux-46f3ceaffa81e846677bca8668e0ad40e643cffd.tar.xz linux-46f3ceaffa81e846677bca8668e0ad40e643cffd.zip |
drm/panel: panel-innolux: set display off in innolux_panel_unprepare
Move mipi_dsi_dcs_set_display_off() from innolux_panel_disable()
to innolux_panel_unprepare(), so they are consistent with
innolux_panel_enable() and innolux_panel_prepare().
This also fixes some mode check and irq timeout issue in MTK dsi code.
Since some dsi code (e.g. mtk_dsi) have following call trace:
1. drm_panel_disable(), which calls innolux_panel_disable()
2. switch to cmd mode
3. drm_panel_unprepare(), which calls innolux_panel_unprepare()
However, mtk_dsi needs to be in cmd mode to be able to send commands
(e.g. mipi_dsi_dcs_set_display_off() and mipi_dsi_dcs_enter_sleep_mode()),
so we need these functions to be called after the switch to cmd mode happens,
i.e. in innolux_panel_unprepare.
Signed-off-by: Hsin-Yi, Wang <hsinyi@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190109065922.231753-1-hsinyi@chromium.org
Diffstat (limited to 'Documentation/devicetree/bindings/display/bridge')
0 files changed, 0 insertions, 0 deletions