Hi,
This patchset is for convenience of ALSA bebob and firewire-tascam drivers.
The devices based on BeBoB ASICs or the devices in Tascam FireWire series transfer a batch of NODATA packet or empty packet in initial step of streaming. To avoid processing them, current implementation uses an option to skip processing content of tx packet during some initial cycles. However, the hard-coded number is not enough useful.
In 1st patch, ALSA IEC 61883-1/6 packet streaming engine becomes to drop the initial packets. As a result, The tx_init_skip_cycles argument of amdtp_domain_start() function changes its meaning. In the following patches, ALSA bebob driver is refactored.
Takashi Sakamoto (3): ALSA: firewire-lib: drop initial tx packets with NODATA or empty ALSA: bebob: cancel switching connection order ALSA: bebob: distinguish M-Audio ProFire Lightbridge quirk
sound/firewire/amdtp-stream.c | 130 +++++++++++++++++++++------- sound/firewire/amdtp-stream.h | 3 + sound/firewire/bebob/bebob.c | 10 ++- sound/firewire/bebob/bebob.h | 1 + sound/firewire/bebob/bebob_stream.c | 25 ++---- 5 files changed, 119 insertions(+), 50 deletions(-)