ALSA: firewire-lib: add a quirk of packet without valid EOH in CIP format
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 22 Mar 2017 12:30:27 +0000 (21:30 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Mar 2018 08:17:44 +0000 (09:17 +0100)
commit90a6ae1eadf11e73fe4c6dbaa0fbd888bb1b48d4
treeda2048f037e7d73bcb3f4e3e0642e81a50f72c74
parent5bf86f30e2a2648cff3346ace5d26208d6a3e001
ALSA: firewire-lib: add a quirk of packet without valid EOH in CIP format

[ Upstream commit 2128f78f75a36a34dfef0e127273c2f820c5c904 ]

In IEC 61883-1, when two quadlets CIP header is used, the most significant
bit in second CIP header stands. However, packets from units with MOTU
protocol version 3 have a quirk without this flag. Current packet streaming
layer handles this as protocol error.

This commit adds a new enumeration constant for this quirk, to handle MOTU
protocol version 3.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/firewire/amdtp-stream.c
sound/firewire/amdtp-stream.h