Skip to content
Commit 8b6e2193 authored by Dan Carpenter's avatar Dan Carpenter Committed by Takashi Iwai
Browse files

ALSA: firewire-lib: fix error codes for allocation failure



Return -ENOMEM if kcalloc() fails.  Currently the code returns success.

Fixes: f9e5ecdf ("ALSA: firewire-lib: add replay target to cache sequence of packet")
Fixes: 6f24bb8a ("ALSA: firewire-lib: pool sequence of packet in IT context independently")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/YLtyL4VoArwVLor1@mwanda


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 745f260b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment