linux/sound/firewire
Dan Carpenter 8b6e219317 ALSA: firewire-lib: fix error codes for allocation failure
Return -ENOMEM if kcalloc() fails.  Currently the code returns success.

Fixes: f9e5ecdfc2 ("ALSA: firewire-lib: add replay target to cache sequence of packet")
Fixes: 6f24bb8a15 ("ALSA: firewire-lib: pool sequence of packet in IT context independently")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/YLtyL4VoArwVLor1@mwanda
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2021-06-06 10:04:54 +02:00
..
bebob ALSA: bebob: perform sequence replay for media clock recovery 2021-06-01 18:37:11 +02:00
dice ALSA: dice: perform sequence replay for media clock recovery 2021-06-01 18:36:42 +02:00
digi00x ALSA: firewire-digi00x: perform sequence replay for media clock recovery 2021-06-01 08:19:25 +02:00
fireface ALSA: fireface: perform sequence replay for media clock recovery 2021-06-01 08:19:51 +02:00
fireworks ALSA: fireworks: perform sequence replay for media clock recovery 2021-06-01 08:18:39 +02:00
motu ALSA: firewire-motu: fix error return code in snd_motu_stream_reserve_duplex() 2021-06-04 08:47:53 +02:00
oxfw ALSA: oxfw: perform sequence replay for media clock recovery 2021-06-01 08:19:12 +02:00
tascam ALSA: firewire-tascam: perform sequence replay for media clock recovery 2021-06-01 08:19:37 +02:00
amdtp-am824.c ALSA: firewire-lib/motu: use int type for the value of bitwise OR with enumerator-constant 2021-05-18 12:21:52 +02:00
amdtp-am824.h ALSA: firewire-lib/motu: use int type for the value of bitwise OR with enumerator-constant 2021-05-18 12:21:52 +02:00
amdtp-stream-trace.h ALSA: firewire-lib: fix amdtp_packet tracepoints event for packet_index field 2021-05-14 09:41:26 +02:00
amdtp-stream.c ALSA: firewire-lib: fix error codes for allocation failure 2021-06-06 10:04:54 +02:00
amdtp-stream.h ALSA: firewire-lib: transfer rx packets on-the-fly when replaying 2021-05-28 11:06:33 +02:00
cmp.c ALSA: firewire: fix kernel-doc 2020-07-07 12:09:32 +02:00
cmp.h ALSA: firewire-lib: split allocation of isochronous resources from establishment of connection 2019-06-17 08:18:36 +02:00
fcp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
fcp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
isight.c ALSA: firewire: Drop superfluous ioctl PCM ops 2019-12-11 07:25:27 +01:00
iso-resources.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
iso-resources.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig Revert "ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro" 2021-05-18 12:21:42 +02:00
lib.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
lib.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
packets-buffer.c ALSA: firewire: fix a memory leak bug 2019-08-08 11:12:26 +02:00
packets-buffer.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00