Re: [PATCH v4 12/12] remoteproc: imx_dsp_rproc: simplify start/stop error handling
From: Daniel Baluta
Date: Wed Nov 19 2025 - 08:50:03 EST
On Wed, Nov 19, 2025 at 6:27 AM Peng Fan (OSS) <peng.fan@xxxxxxxxxxx> wrote:
>
> From: Peng Fan <peng.fan@xxxxxxx>
>
> 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@xxxxxxx>
Reviewed-by: Daniel Baluta <daniel.baluta@xxxxxxx>