mirror of https://github.com/torvalds/linux.git
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> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| asihpi.c | ||
| hpi.h | ||
| hpi6000.c | ||
| 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 | ||
| hpimsgx.h | ||
| hpioctl.c | ||
| hpioctl.h | ||
| hpios.c | ||
| hpios.h | ||
| hpipcida.h | ||