Re: [PATCH v3] drm/panel: samsung-s6d16d0: Power off on prepare failure

From: Linus Walleij

Date: Fri Jul 10 2026 - 13:54:03 EST


On Sat, Jul 4, 2026 at 9:06 AM Laxman Acharya Padhya
<acharyalaxman8848@xxxxxxxxx> wrote:

> If enabling tearing mode or exiting sleep mode fails after the
> regulator is enabled, s6d16d0_prepare() returns without asserting
> reset or disabling the supply. Since the DRM panel core leaves the
> panel unprepared, a later unprepare call skips the driver callback
> and the supply remains enabled.
>
> Assert reset and disable the supply before returning the DSI command error.
>
> Fixes: ac1d6d74884e ("drm/panel: Add driver for Samsung S6D16D0 panel")
> Assisted-by: Codex:gpt-5
> Signed-off-by: Laxman Acharya Padhya <acharyalaxman8848@xxxxxxxxx>

Patch applied!

Yours,
Linus Walleij