summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2026-01-14 06:12:41 +0800
committerShawn Guo <shawnguo@kernel.org>2026-01-18 10:33:42 +0800
commitf6ef3d9ff81240e9bcc030f2da132eb0f8a761d7 (patch)
treecb9bbe0a431040141deebdef8bf00208b9c1cc9e /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent4acaf8b293c8b03301508764dc3e586658186730 (diff)
soc: imx8m: Fix error handling for clk_prepare_enable()
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 <lkp@intel.com> Reported-by: Dan Carpenter <error27@gmail.com> Closes: https://lore.kernel.org/r/202601111406.ZVV3YaiU-lkp@intel.com/ Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions