]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit76864868dbab0bfd9aadaa9155acfe396f8069e4
treecf85301d458781562052021af330c34491edd110
parent3fc4147653130c5d49d07e06186628e29ba9f39d
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