Re: [PATCH] ALSA: asihpi: Simplify error handling in PCM substream setup

Takashi Iwai
2025-09-15T07:26:13Z

On Sun, 14 Sep 2025 22:59:45 +0200,
Jihed Chaibi wrote:
>
> Refactor error handling in the PCM substream setup to combine redundant
> checks and improve code readability. Free the dpcm structure and return
> appropriate error codes (-EBUSY for HPI_ERROR_OBJ_ALREADY_OPEN, -EIO
> for other errors) in a single block.
>
> Signed-off-by: Jihed Chaibi <jihed.chaibi.dev@gmail.com>

Thanks, applied now.

Takashi