ALSA: firewire-lib: handle quirk to calculate payload quadlets as data block counter
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 18 Feb 2024 07:41:27 +0000 (16:41 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Feb 2024 08:24:35 +0000 (09:24 +0100)
commit4a486439d2ca85752c46711f373b6ddc107bb35d
tree72f527625d7ab1371cc035401fc2df4100d5df33
parent25ab2b2f6ac209a3746eec42210a98fe047a7453
ALSA: firewire-lib: handle quirk to calculate payload quadlets as data block counter

Miglia Harmony Audio (OXFW970) has a quirk to put the number of
accumulated quadlets in CIP payload into the dbc field of CIP header.

This commit handles the quirk in the packet processing layer.

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