]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
remoteproc: imx_dsp_rproc: Use start/stop/detect_mode ops from imx_rproc_dcfg
authorPeng Fan <peng.fan@nxp.com>
Wed, 19 Nov 2025 04:21:51 +0000 (12:21 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 19 Nov 2025 16:10:32 +0000 (09:10 -0700)
commit606e4811694a334fe8a1190a4e1d8e62d4c582df
tree7c9223f45d0c210784d363094bf3214949e37399
parent8049dc7b631e33a42d8413fe48b043113afa914c
remoteproc: imx_dsp_rproc: Use start/stop/detect_mode ops from imx_rproc_dcfg

Allow each platform to provide its own implementation of start/stop/
detect_mode operations, and prepare to eliminate the need for multiple
switch-case statements.

Improve code readability and maintainability by encapsulating
platform-specific behavior.

No functional changes.

Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Frank Li <Frank.Li@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-6-adafd342d07b@nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/imx_dsp_rproc.c