]> 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)
commit21116f72de7b7f15bc2d9ac2a4cd15ec2eee403e
treecf85301d458781562052021af330c34491edd110
parentf99230b0a5ec47570e2521d2152c0549f01c2f4e
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