OSDN Git Service

ALSA: firewire-lib: add support arbitrary value for fmt/fdf fields in CIP header
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 19 Sep 2015 02:21:53 +0000 (11:21 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 29 Sep 2015 10:35:48 +0000 (12:35 +0200)
commit414ba022a5287e9473c7fa2b4aa1b1025e9ca8be
treea92a9e5406537a12bd6296abdd62efeb4e76d94e
parent20e445771ea109bc0ce9e717cbf2475e56a141a8
ALSA: firewire-lib: add support arbitrary value for fmt/fdf fields in CIP header

Some vendor specific protocol uses its own value for fmt/fdf fields in
CIP header.

This commit support to set arbitrary values for the fields.

In IEC 61883-6, NO-DATA code is defined for FDF field. A packet with this
code includes no data even if it includes some data blocks. This commit
still leaves a condition to handle this special packet.

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