ALSA: firewire-lib: use 8 byte packet header for IT context to separate CIP header...
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 23 May 2019 15:14:40 +0000 (00:14 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 24 May 2019 07:05:16 +0000 (09:05 +0200)
commitb18f0cfaf16bee36bc4d3cab6771c7d74ed472ac
tree594392db56cbdd51c94d56f42218df94f0c03de8
parent6007bf5460cc3b6c63feed5084047b9cc2517eb0
ALSA: firewire-lib: use 8 byte packet header for IT context to separate CIP header from CIP payload

In Linux firewire subsystem, for IT context, some quadlets of isochronous
packet payload can be indicated as a part of packet header to queue to
the context.

This commit uses the packet header to split CIP headers from CIP
payload. As a result, regardless of CIP or non-CIP, context payload
includes data blocks only.

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