Re: [PATCH] phy: rockchip: inno-hdmi: Fix potential stale clock provider
From: Heiko Stuebner
Date: Fri Nov 13 2026 - 15:01:57 EST
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@xxxxxxxxxxxxxxx
> Signed-off-by: Guangshuo Li <liguangshuo@xxxxxxxxxxxxxxx>
Reviewed-by: Heiko Stuebner <heiko@xxxxxxxxx>