diff options
| author | Murad Masimov <[email protected]> | 2024-11-01 18:55:13 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2024-11-04 10:25:16 +0000 |
| commit | 8abbf1f01d6a2ef9f911f793e30f7382154b5a3a (patch) | |
| tree | ce3a6ce3750f6afa1b98f130312a7dbf56c715b1 /drivers/usb/cdns3/cdns3-ti.c | |
| parent | ALSA: ump: Don't enumeration invalid groups for legacy rawmidi (diff) | |
| download | kernel-8abbf1f01d6a2ef9f911f793e30f7382154b5a3a.tar.gz kernel-8abbf1f01d6a2ef9f911f793e30f7382154b5a3a.zip | |
ALSA: firewire-lib: fix return value on fail in amdtp_tscm_init()
If amdtp_stream_init() fails in amdtp_tscm_init(), the latter returns zero,
though it's supposed to return error code, which is checked inside
init_stream() in file tascam-stream.c.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 47faeea25ef3 ("ALSA: firewire-tascam: add data block processing layer")
Signed-off-by: Murad Masimov <[email protected]>
Reviewed-by: Takashi Sakamoto <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions
