On Sat, 15 Jun 2019 11:10:55 +0200, Takashi Sakamoto wrote:
Hi,
This patchset is a part of patches to reserve/release isochronous resources in pcm.hw_params/hw_free callbacks, like posted patchsets below: https://mailman.alsa-project.org/pipermail/alsa-devel/2019-June/150118.html https://mailman.alsa-project.org/pipermail/alsa-devel/2019-June/150863.html
In IEC 61883-1/6, CMP is depicted with operations of isochronous resources. The ALSA firewire-lib module implements some kernel API for CMP according to it. However, once the isochronous resources are allocated, several packet streaming can run consecutively. Deallocation of isochronous resources for each of packet streaming is not needless.
In this patchset, allocation of isochronous resources is split from establishment of connection so that CMP runs with allocated isochronous resources.
Takashi Sakamoto (6): ALSA: bebob: code rafactoring for callback functions to PCM interface ALSA: bebob: code refactoring for callback function to rawmidi interface ALSA: bebob: change the range of critical section for stream data in PCM.hw_free callback ALSA: bebob: code refactoring for error path to start duplex stream ALSA: fireworks: change the range of critical section for stream data in PCM.hw_free callback ALSA: firewire-lib: split allocation of isochronous resources from establishment of connection
Applied now. Thanks.
Takashi