Re: [PATCH] soc: imx8m: fix clock reference leak in imx8m_soc_prepare()
From: Frank . Li
Date: Tue Oct 27 2026 - 17:22:00 EST
From: Frank Li <Frank.Li@xxxxxxx>
On Fri, 26 Jun 2026 22:37:35 +0800, Felix Gu wrote:
> When clk_prepare_enable() fails, the error path does not release the
> clock reference obtained by of_clk_get_by_name(). Add clk_put() to
> the error path before iounmap().
Applied to imx/drivers-intend, will see in linux-next after v7.4-rc1,
thanks
[1/1] soc: imx8m: fix clock reference leak in imx8m_soc_prepare()
commit: 7077362fdfbafa7febb94d1c595f6edaae3b8c3c
Best regards,
--
Frank Li <Frank.Li@xxxxxxx>