diff options
| author | Peng Fan <peng.fan@nxp.com> | 2025-11-19 12:21:57 +0800 |
|---|---|---|
| committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2025-11-19 09:16:55 -0700 |
| commit | 6f880e7bd103c38d583326f176db8aae8c8b71c2 (patch) | |
| tree | 7a275f2c376f0f083f5d8bba62b037510013b2f8 /tools/lib/python/kdoc/python_version.py | |
| parent | 5c33a631a5780df70e2b392539a98e4a624cd752 (diff) | |
remoteproc: imx_dsp_rproc: Simplify start/stop error handling
Replace goto-based error handling with early return pattern in
imx_dsp_rproc_{start,stop}() functions, and simplify if-else logic.
No functional changes, only code structure improvements for better
maintainability.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20251119-imx-dsp-2025-11-19-v4-12-adafd342d07b@nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
