Re: [PATCH 1/2] drm/panel: samsung-s6e3ha2: Ignore DCS errors in disable()
From: Doug Anderson
Date: Tue Dec 01 2026 - 22:01:08 EST
Hi,
On Mon, Nov 30, 2026 at 8:34 PM Hsieh Hung-En <hungen3108@xxxxxxxxx> wrote:
>
> If s6e3ha2_disable() returns an error from mipi_dsi_dcs_enter_sleep_mode()
> or mipi_dsi_dcs_set_display_off(), drm_panel_disable() skips clearing
> panel->enabled and s6e3ha2_disable() also skips updating
> bl_dev->props.power. unprepare() still powers the panel off, but the next
> drm_panel_enable() sees the panel as already enabled and does nothing,
> leaving the panel dark.
>
> Log any DCS command failure, continue with the remaining disable sequence,
> and always return 0 from s6e3ha2_disable().
>
> Fixes: ed29f9426d9b ("drm/panel: Add support for S6E3HA2 panel driver on TM2 board")
> Signed-off-by: Hsieh Hung-En <hungen3108@xxxxxxxxx>
> ---
> drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>