Re: [PATCH] drm/bridge: ti-sn65dsi86: fail PWM probe if runtime PM setup fails

From: Luca Ceresoli

Date: Tue Dec 01 2026 - 03:45:01 EST


On Sun Nov 29, 2026 at 2:43 PM CET, Jiawen Liu 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>

Reviewed-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com