]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
remoteproc: imx_dsp_rproc: Simplify power domain attach and error handling
authorPeng Fan <peng.fan@nxp.com>
Wed, 19 Nov 2025 04:21:46 +0000 (12:21 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 19 Nov 2025 16:04:53 +0000 (09:04 -0700)
commit3003773ad67ace7c2a0394efdca122824c709dd5
tree1d3bcf345e0af5ded169559d76e08b1ea69f2f74
parent5a3d530caab22c235c994b38a860549da04171a4
remoteproc: imx_dsp_rproc: Simplify power domain attach and error handling

Refactor imx_dsp_attach_pm_domains() to use devm_pm_domain_attach_list()
directly, removing manual detach logic and simplifying resource management.

Also replace verbose error handling in imx_dsp_rproc_probe() with
dev_err_probe() for cleaner and more consistent error reporting.

No functional changes.

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Tested-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20251119-imx-dsp-2025-11-19-v4-1-adafd342d07b@nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/imx_dsp_rproc.c