]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-lib: cache next data_block_counter after probing tracepoints event...
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 28 Jun 2019 05:53:30 +0000 (14:53 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 28 Jun 2019 08:54:52 +0000 (10:54 +0200)
commitec9ae110679c60fb2ab31e6ff29cf451f382eafa
treecf85301d458781562052021af330c34491edd110
parente58a4b21686efb3a223c7737b9c5a84006b136db
ALSA: firewire-lib: cache next data_block_counter after probing tracepoints event for IR context

For debugging purpose, ALSA IEC 61883-1/6 engine has tracepoints event.
In current implementation, next data block counter is stored as current
data block counter before probing the event for IR isoc context. It's not
good to check current packet parameter.

This commit changes to assign the next data block counter after probing
the event.

Besides, Fireworks devices has a quirk to transfer isoc packet with
data block counter for the last data block. For this quirk, the
assignment is done before calling data block processing layer.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp-stream.c