kernel_optimize_test/sound/firewire
Christophe JAILLET dd6d4e92e7 ALSA: firewire-lib: Fix 'amdtp_domain_start()' when no AMDTP_OUT_STREAM stream is found
[ Upstream commit 0cbbeaf370221fc469c95945dd3c1198865c5fe4 ]

The intent here is to return an error code if we don't find what we are
looking for in the 'list_for_each_entry()' loop.

's' is not NULL if the list is empty or if we scan the complete list.
Introduce a new 'found' variable to handle such cases.

Fixes: 60dd49298e ("ALSA: firewire-lib: handle several AMDTP streams in callback handler of IRQ target")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/9c9a53a4905984a570ba5672cbab84f2027dedc1.1624560484.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:49 +02:00
..
bebob ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro 2021-05-26 12:06:51 +02:00
dice ALSA: dice: fix stream format at middle sampling rate for Alesis iO 26 2021-05-26 12:06:51 +02:00
digi00x
fireface
fireworks
motu ALSA: firewire-motu: fix stream format for MOTU 8pre FireWire 2021-07-14 16:55:35 +02:00
oxfw ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro 2021-05-26 12:06:51 +02:00
tascam
amdtp-am824.c
amdtp-am824.h
amdtp-stream-trace.h ALSA: firewire-lib: fix amdtp_packet tracepoints event for packet_index field 2021-05-26 12:06:50 +02:00
amdtp-stream.c ALSA: firewire-lib: Fix 'amdtp_domain_start()' when no AMDTP_OUT_STREAM stream is found 2021-07-14 16:56:49 +02:00
amdtp-stream.h
cmp.c
cmp.h
fcp.c
fcp.h
isight.c
iso-resources.c
iso-resources.h
Kconfig ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro 2021-05-26 12:06:51 +02:00
lib.c
lib.h
Makefile
packets-buffer.c
packets-buffer.h