linux/sound/firewire/digi00x
Takashi Sakamoto 24bb77b3ff ALSA: firewire-digi00x: 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 transfer isochronous packet 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 16:02:06 +02:00
..
amdtp-dot.c ALSA: firewire-lib: use union for directional parameters 2019-05-22 12:28:00 +02:00
digi00x-hwdep.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
digi00x-midi.c ALSA: firewire-digi00x: reserve/release isochronous resources in pcm.hw_params/hw_free callbacks 2019-06-11 16:02:05 +02:00
digi00x-pcm.c ALSA: firewire-digi00x: reserve/release isochronous resources in pcm.hw_params/hw_free callbacks 2019-06-11 16:02:05 +02:00
digi00x-proc.c ALSA: firewire: Remove superfluous snd_info_register() calls 2019-02-06 18:11:38 +01:00
digi00x-stream.c ALSA: firewire-digi00x: update isochronous resources when starting packet streaming after bus-reset 2019-06-11 16:02:06 +02:00
digi00x-transaction.c ALSA: firewire-digi00x: remove transaction handler for unknown purpose 2017-04-05 21:34:13 +02:00
digi00x.c ALSA: firewire: simplify cleanup process when failing to register sound card 2018-10-10 12:11:50 +02:00
digi00x.h ALSA: firewire-digi00x: reserve/release isochronous resources in pcm.hw_params/hw_free callbacks 2019-06-11 16:02:05 +02:00
Makefile ALSA: firewire-digi00x: add support for MIDI ports corresponding to isochronous packet streaming 2015-10-11 18:26:04 +02:00