[PATCH] clk: mediatek: mt8135: Fix an error handling path in clk_mt8135_apmixed_probe()

Stephen Boyd sboyd at kernel.org
Wed Feb 21 20:51:44 PST 2024


Quoting Christophe JAILLET (2024-01-07 00:12:17)
> If an error occurs after mtk_alloc_clk_data(), mtk_free_clk_data() should
> be called, as already done in the remove function.
> 
> Fixes: 54b7026f011e ("clk: mediatek: mt8135-apmixedsys: Convert to platform_driver and module")
> Signed-off-by: Christophe JAILLET <christophe.jaillet at wanadoo.fr>
> ---

Applied to clk-next



More information about the Linux-mediatek mailing list