]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-tascam: drop reuse of incoming packet parameter for outgoing packet...
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 9 May 2016 14:15:52 +0000 (23:15 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 10 May 2016 15:03:59 +0000 (17:03 +0200)
commit4d56adfe2f06a5e27f41bd1e35a0904610cd1ae2
tree8e6b9626ee886775fc0dd7a98c7d6cb8662226ce
parent2f58b2d363873a5f431ccdd8b1ea8f049c2efbe4
ALSA: firewire-tascam: drop reuse of incoming packet parameter for outgoing packet parameter

In packet streaming protocol applied to TASCAM FireWire series, the value
of SYT field in CIP header is always zero, therefore it has no meaning.
There's no need to synchronize packets in both direction for the series.

In current implementation of ALSA firewire stack, driver for the series
uses incoming packet parameter for outgoing packet parameter to calculate
the number of data blocks. This can be simplified because the task of
corresponding driver is to transfer data blocks enough to sampling transfer
frequency.

This commit purges support of full duplex synchronization to prevent
over-engineering implementation.

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