Re: [PATCH] clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe

From: Tony Lindgren
Date: Tue Jun 28 2022 - 01:22:16 EST


* Miaoqian Lin <linmq006@xxxxxxxxx> [220602 06:04]:
> pm_runtime_get_sync() will increment pm usage counter.
> Forgetting to putting operation will result in reference leak.
> Add missing pm_runtime_put_sync in some error paths.
>
> Fixes: 9ac33b0ce81f ("CLK: TI: Driver for DRA7 ATL (Audio Tracking Logic)")
> Signed-off-by: Miaoqian Lin <linmq006@xxxxxxxxx>

Reviewed-by: Tony Lindgren <tony@xxxxxxxxxxx>