[PATCH] phy: rockchip: inno-hdmi: Fix potential stale clock provider
Heiko Stuebner
heiko at sntech.de
Fri Nov 13 11:52:15 PST 2026
Am Dienstag, 10. November 2026, 15:32:25 Mitteleuropäische Normalzeit schrieb Guangshuo Li:
> The clock provider remains registered if PHY provider registration fails.
> Device-managed cleanup then frees the clock hardware and PHY private
> data still referenced by the provider.
>
> Use a device-managed clock provider so both probe failure and removal
> unregister it before the clock hardware is released.
>
> This issue was found by our static analysis tool under development.
>
> Fixes: 53706a116863 ("phy: add Rockchip Innosilicon hdmi phy")
> Cc: stable at vger.kernel.org
> Signed-off-by: Guangshuo Li <liguangshuo at mail.sdu.edu.cn>
Reviewed-by: Heiko Stuebner <heiko at sntech.de>
More information about the Linux-rockchip
mailing list