Re: [PATCH] drm/bridge: ti-sn65dsi86: fail PWM probe if runtime PM setup fails
From: Doug Anderson
Date: Mon Nov 30 2026 - 17:19:55 EST
Hi,
On Sun, Nov 29, 2026 at 5:44 AM Jiawen Liu <1298662399@xxxxxx> wrote:
>
> ti_sn_pwm_probe() ignored a failure from devm_pm_runtime_enable(). The
> helper rolls runtime PM back when action registration fails, but the
> probe could then successfully register the PWM chip. A later PWM apply
> operation would be unable to resume the auxiliary device.
>
> Propagate the runtime PM setup error before registering the PWM chip.
>
> Fixes: eb3f7cbee294 ("drm/bridge: ti-sn65dsi86: Associate PWM device to auxiliary device")
> Signed-off-by: Jiawen Liu <1298662399@xxxxxx>
> ---
> drivers/gpu/drm/bridge/ti-sn65dsi86.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
Unless something else comes up (or someone else feels like landing it
sooner), I'll plan to apply this to drm-misc-next next week. This
doesn't feel important enough to land in drm-misc-fixes.
-Doug