[PATCH] soc: imx8m: fix clock reference leak in imx8m_soc_prepare()
Frank.Li at oss.nxp.com
Frank.Li at oss.nxp.com
Tue Oct 27 14:21:40 PDT 2026
From: Frank Li <Frank.Li at nxp.com>
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 at nxp.com>
More information about the linux-arm-kernel
mailing list