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

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Mon Jan 8 02:14:29 PST 2024


Il 07/01/24 09:12, Christophe JAILLET ha scritto:
> 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>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>





More information about the Linux-mediatek mailing list