kernel_optimize_test/sound/firewire
Takashi Sakamoto b88f4d7c38 ALSA: fireface: update isochronous resources when starting packet streaming after bus-reset
After bus reset, isochronous resource manager releases all of allocated
isochronous resources. The nodes to restart packet streaming should
request reallocation of the resources.

However, between the bus-reset and invocation of 'struct fw_driver.update'
handler, ALSA PCM application can detect this situation by XRUN because
the target device cancelled to transmit packets once bus-reset occurs.

Due to the above mechanism, ALSA fireface driver just stops packet
streaming in the update handler, thus pcm.prepare handler should
request the reallocation.

This commit requests the reallocation in pcm.prepare callback when
bus generation is changed.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-06-11 11:36:25 +02:00
..
bebob ALSA: bebob: use more identical mod_alias for Saffire Pro 10 I/O against Liquid Saffire 56 2019-02-26 07:11:32 +01:00
dice ALSA: dice: add stream format parameters for PreSonus FireStudio 2019-05-20 07:46:43 +02:00
digi00x ALSA: firewire-lib: use union for directional parameters 2019-05-22 12:28:00 +02:00
fireface ALSA: fireface: update isochronous resources when starting packet streaming after bus-reset 2019-06-11 11:36:25 +02:00
fireworks ALSA: firewire-lib: use union for directional parameters 2019-05-22 12:28:00 +02:00
motu ALSA: firewire-lib: use union for directional parameters 2019-05-22 12:28:00 +02:00
oxfw ALSA: firewire: Remove superfluous snd_info_register() calls 2019-02-06 18:11:38 +01:00
tascam ALSA: firewire-tascam: code refactoring for pcm.hw_params/hw_free callbacks 2019-06-11 11:36:21 +02:00
amdtp-am824.c ALSA: firewire-lib: use union for directional parameters 2019-05-22 12:28:00 +02:00
amdtp-am824.h
amdtp-stream-trace.h ALSA: firewire-lib: fix inverted node IDs for amdtp_packet events 2019-05-24 11:18:01 +02:00
amdtp-stream.c ALSA: firewire-lib: refactoring to obsolete IR packet handler 2019-05-24 11:18:03 +02:00
amdtp-stream.h ALSA: firewire-lib: unify packet handler for IT context 2019-05-24 09:05:15 +02:00
cmp.c
cmp.h
fcp.c
fcp.h
isight.c ALSA: isight: fix leak of reference to firewire unit in error path of .probe callback 2018-10-12 08:08:04 +02:00
iso-resources.c
iso-resources.h
Kconfig ALSA: fireface: add support for Fireface UCX 2019-01-21 15:12:25 +01:00
lib.c
lib.h
Makefile
packets-buffer.c
packets-buffer.h