Thread (4 messages) 4 messages, 4 authors, 2026-01-18

Re: [PATCH] soc: imx8m: Fix error handling for clk_prepare_enable()

From: Daniel Baluta <hidden>
Date: 2026-01-14 08:05:00
Also in: imx, lkml

On Wed, Jan 14, 2026 at 12:13 AM Peng Fan (OSS) [off-list ref] wrote:
From: Peng Fan <peng.fan@nxp.com>

imx8m_soc_prepare() directly returns the result of clk_prepare_enable(),
which skips proper cleanup if the clock enable fails. Check the return
value of clk_prepare_enable() and release resources if failure.

Reported-by: kernel test robot <redacted>
Reported-by: Dan Carpenter <redacted>
Closes: https://lore.kernel.org/r/202601111406.ZVV3YaiU-lkp@intel.com/ (local)
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help