]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit82f61b43d2dc4f0db744dcaf28b36c5dd9618951
tree7e4a3e293b5da5c381f918d5568f2c2d0e53f288
parent248ffe2dcfa38b8fd6393d28e873c1810aa96385
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