linux/sound/firewire/motu
Yang Yingliang ce9f50e7ac ALSA: firewire-motu: fix error return code in snd_motu_stream_reserve_duplex()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: e50dfac81f ("ALSA: firewire-motu: cache event ticks in source packet header per data block")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Acked-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210603143203.582017-1-yangyingliang@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2021-06-04 08:47:53 +02:00
..
amdtp-motu-trace.h ASoC: Updates for v5.3 2019-07-08 14:45:34 +02:00
amdtp-motu.c ALSA: firewire-motu: sequence replay for source packet header 2021-06-02 08:59:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
motu-hwdep.c ALSA: Convert strlcpy to strscpy when return value is unused 2021-01-08 09:30:05 +01:00
motu-midi.c ALSA: firewire-motu: share PCM buffer size for both direction 2019-10-18 04:35:51 +02:00
motu-pcm.c ALSA: firewire-motu: use table-based calculation of packet formats for proc 2020-05-22 16:52:16 +02:00
motu-proc.c ALSA: firewire-motu: use table-based calculation of packet formats for proc 2020-05-22 16:52:16 +02:00
motu-protocol-v2.c ALSA: firewire-motu: refactoring protocol v2 for fetching mode switch 2020-05-22 16:52:19 +02:00
motu-protocol-v3.c ALSA: firewire-motu: wait for notification when changing clock configuration for protocol v3 2020-06-15 15:59:19 +02:00
motu-stream.c ALSA: firewire-motu: fix error return code in snd_motu_stream_reserve_duplex() 2021-06-04 08:47:53 +02:00
motu-transaction.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
motu.c ALSA: firewire-motu: add support for MOTU UltraLite-mk3 (FireWire only model) 2020-05-25 08:29:57 +02:00
motu.h ALSA: firewire-motu: sequence replay for source packet header 2021-06-02 08:59:46 +02:00