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 <[email protected]> > > 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 <[email protected]> > ---
