From: "Luca Ceresoli" <luca.ceresoli@bootlin.com>
To: "Jiawen Liu" <1298662399@qq.com>,
"Andrzej Hajda" <andrzej.hajda@intel.com>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
"Robert Foss" <rfoss@kernel.org>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>
Cc: "Douglas Anderson" <dianders@chromium.org>,
"Laurent Pinchart" <Laurent.pinchart@ideasonboard.com>,
"Jonas Karlman" <jonas@kwiboo.se>,
"Jernej Skrabec" <jernej.skrabec@gmail.com>,
"Luca Ceresoli" <luca.ceresoli@bootlin.com>,
<dri-devel@lists.freedesktop.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] drm/bridge: ti-sn65dsi86: fail PWM probe if runtime PM setup fails
Date: Tue, 01 Dec 2026 09:44:43 +0100 [thread overview]
Message-ID: <DN99IMU7VWCY.OUHFPCPPKH8S@bootlin.com> (raw)
In-Reply-To: <tencent_C15FAC4A92FAE82277C8765D29277E408C07@qq.com>
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@qq.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2026-12-01 8:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 13:43 [PATCH] drm/bridge: ti-sn65dsi86: fail PWM probe if runtime PM setup fails Jiawen Liu
2026-11-30 22:19 ` Doug Anderson
2026-12-01 8:44 ` Luca Ceresoli [this message]
2026-12-01 12:24 ` Markus Elfring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DN99IMU7VWCY.OUHFPCPPKH8S@bootlin.com \
--to=luca.ceresoli@bootlin.com \
--cc=1298662399@qq.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=andrzej.hajda@intel.com \
--cc=dianders@chromium.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=rfoss@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.