linux/sound/pci/asihpi
Jihed Chaibi c29287bb32 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>
2025-09-15 09:25:47 +02:00
..
Makefile
asihpi.c ALSA: asihpi: Simplify error handling in PCM substream setup 2025-09-15 09:25:47 +02:00
hpi.h
hpi6000.c ALSA: asihpi: Use safer strscpy() instead of strcpy() 2025-07-11 09:53:17 +02:00
hpi6000.h
hpi6205.c
hpi6205.h
hpi_internal.h
hpi_version.h
hpicmn.c
hpicmn.h
hpidebug.c
hpidebug.h
hpidspcd.c
hpidspcd.h
hpifunc.c
hpimsginit.c
hpimsginit.h
hpimsgx.c ALSA: asihpi: Fix potential OOB array access 2024-08-08 11:15:55 +02:00
hpimsgx.h
hpioctl.c
hpioctl.h
hpios.c
hpios.h
hpipcida.h