From: "CK Hu (胡俊光)" <ck.hu@mediatek.com>
To: "dmitry.osipenko@collabora.com" <dmitry.osipenko@collabora.com>,
"granquet@baylibre.com" <granquet@baylibre.com>,
"chunkuang.hu@kernel.org" <chunkuang.hu@kernel.org>,
"haoxiang_li2024@163.com" <haoxiang_li2024@163.com>,
"AngeloGioacchino Del Regno"
<angelogioacchino.delregno@collabora.com>,
"simona@ffwll.ch" <simona@ffwll.ch>,
"airlied@gmail.com" <airlied@gmail.com>,
"Rex-BC Chen (陳柏辰)" <Rex-BC.Chen@mediatek.com>,
"p.zabel@pengutronix.de" <p.zabel@pengutronix.de>,
"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
"Alexandre Mergnat" <amergnat@baylibre.com>
Cc: "dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
"linux-mediatek@lists.infradead.org"
<linux-mediatek@lists.infradead.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] drm/mediatek: dp: Unregister child devices on probe failure
Date: Tue, 24 Nov 2026 09:42:19 +0000 [thread overview]
Message-ID: <0400e70251e3936fb51b018e276399e23ff5c213.camel@mediatek.com> (raw)
In-Reply-To: <20261119022523.2767735-1-haoxiang_li2024@163.com>
On Thu, 2026-11-19 at 10:25 +0800, Haoxiang Li wrote:
> External email : Please do not click links or open attachments until you have verified the sender or the content.
>
>
> If PHY initialization fails after the audio codec device has been
> registered, mtk_dp_probe() returns without unregistering the audio
> device. Later failures during eDP AUX bus setup, panel linking or
> bridge registration also leave the PHY device registered.
>
> Add error labels to unregister successfully registered child devices
> in reverse order before returning the probe error.
Reviewed-by: CK Hu <ck.hu@mediatek.com>
>
> Fixes: e71a8ebbe086 ("drm/mediatek: dp: Audio support for MT8195")
> Fixes: 214a0944e664 ("drm/mediatek: dp: Use devm variant of drm_bridge_add()")
> Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
> ---
prev parent reply other threads:[~2026-11-24 9:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 2:25 Haoxiang Li
2026-11-24 9:42 ` CK Hu (胡俊光) [this message]
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=0400e70251e3936fb51b018e276399e23ff5c213.camel@mediatek.com \
--to=ck.hu@mediatek.com \
--cc=Rex-BC.Chen@mediatek.com \
--cc=airlied@gmail.com \
--cc=amergnat@baylibre.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=chunkuang.hu@kernel.org \
--cc=dmitry.osipenko@collabora.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=granquet@baylibre.com \
--cc=haoxiang_li2024@163.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=p.zabel@pengutronix.de \
--cc=simona@ffwll.ch \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®