ALSA: firewire-lib: add flag to unaware of syt in CIP header
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 22 May 2021 01:32:58 +0000 (10:32 +0900)
committerTakashi Iwai <tiwai@suse.de>
Sat, 22 May 2021 06:46:41 +0000 (08:46 +0200)
commit8070d2652e735585d31a50ff4f9bbaf2b5a49b10
tree7e4a3e293b5da5c381f918d5568f2c2d0e53f288
parent344f0f821a7ee77832f04451e616f313b7d93f1a
ALSA: firewire-lib: add flag to unaware of syt in CIP header

Many devices are unaware of syt field in rx CIP for playback timing.

This commit adds a flag to cancel processing syt field. Actually,
syt calculation is required to decide the number of events per rx packet.
The flag put 0xffff to CIP header of rx packet. On the other hand,
The value of syt field in CIP header of tx packet is unavailable. The
sequence of packet descriptor for tx packet includes 0 for the offset
of syt field to avoid computation.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210522013303.49596-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp-stream.c
sound/firewire/amdtp-stream.h
sound/firewire/motu/amdtp-motu.c
sound/firewire/tascam/amdtp-tascam.c