diff options
author | Jihed Chaibi <jihed.chaibi.dev@gmail.com> | 2025-09-14 22:59:45 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2025-09-15 09:25:47 +0200 |
commit | c29287bb32bc72a037c34d84a160060a6122b7ed (patch) | |
tree | 0086c1b5c9e91e74750c62b61a5d24b8593f4698 /rust/helpers/workqueue.c | |
parent | e135eeef0b25d44fe71dc3b71b0106d48d825470 (diff) |
ALSA: asihpi: Simplify error handling in PCM substream setup
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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions