summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2025-09-26 15:33:19 +0300
committerMathieu Poirier <mathieu.poirier@linaro.org>2025-10-14 18:13:36 +0300
commit9b2451658afa9d144706f4b8d8727bb458fb4514 (patch)
tree8acb56e26792b6fbd4aedca0b4c9a61a8a8d5203 /tools/lib/python
parent65af722aa86fc58431670b3d95be9e1d9a0b060f (diff)
downloadlinux-9b2451658afa9d144706f4b8d8727bb458fb4514.tar.xz
remoteproc: imx_rproc: Use devm_add_action_or_reset() for scu cleanup
Replace the explicit call to imx_rproc_put_scu() in the remove path with devm_add_action_or_reset(). Ensure proper cleanup of scu resources and simplify the code by leveraging the device-managed resource framework. Additionally: - Remove the IMX_RPROC_SCU_API check from imx_rproc_put_scu(), as devm_add_action_or_reset() now exclusively handles SCU cleanup. - Improve error reporting by using dev_err_probe() for consistency and clarity. - Drop the err_put_scu label, as it is now redundant due to the updated error handling approach. No functional changes. Reviewed-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Link: https://lore.kernel.org/r/20250926-imx_rproc_v3-v3-5-4c0ec279cc5f@nxp.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions