]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-lib: pass the number of data blocks in incoming packets to outgoing...
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 22 May 2015 14:00:52 +0000 (23:00 +0900)
committerTakashi Iwai <tiwai@suse.de>
Sat, 23 May 2015 07:13:19 +0000 (09:13 +0200)
commite39129f084650086b4bfcc11ab51f7f6f0c86b0b
tree37a6c6a87561a0e5a4879256f6a2cc40ccf7cab7
parent257680c796ce238a365e7851bb47b0dbc800bf2c
ALSA: firewire-lib: pass the number of data blocks in incoming packets to outgoing packets

Current implementation reuses the value of syt field in incoming packet to
outgoing packet for full duplex timestamp synchronization, while the number
of data blocks in outgoing packets refers to hard-coded table and the
synchronization cannot be applied to non-blocking stream.

This commit passes the number of data blocks from incoming packet
processing to outgoing packet processing for the synchronization. For
normal mode, isochronous callback handler is changed to generate the values
of syt and data blocks.

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