Skip to content

Commit

Permalink
drm/panel: ltk050h3146w: drop duplicate commands from LTK050H3148W init
Browse files Browse the repository at this point in the history
The init sequence specifies the 0x11 and 0x29 dsi commands, which are
the exit-sleep and display-on commands.

In the actual prepare step the driver already uses the appropriate
function calls for those, so drop the duplicates.

Fixes: e5f9d54 ("drm/panel: ltk050h3146w: add support for Leadtek LTK050H3148W-CTA6 variant")
Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240320131232.327196-2-heiko@sntech.de
  • Loading branch information
Heiko Stuebner authored and mmind committed Mar 26, 2024
1 parent 80cc8c0 commit 55679cc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,6 @@ static int ltk050h3148w_init_sequence(struct ltk050h3146w *ctx)
mipi_dsi_dcs_write_seq(dsi, 0xbd, 0x00);
mipi_dsi_dcs_write_seq(dsi, 0xc6, 0xef);
mipi_dsi_dcs_write_seq(dsi, 0xd4, 0x02);
mipi_dsi_dcs_write_seq(dsi, 0x11);
mipi_dsi_dcs_write_seq(dsi, 0x29);

ret = mipi_dsi_dcs_set_tear_on(dsi, 1);
if (ret < 0) {
Expand Down

0 comments on commit 55679cc

Please sign in to comment.