OSDN Git Service

ALSA: firewire-lib: split helper function to check incoming CIP header
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 22 May 2019 14:17:06 +0000 (23:17 +0900)
committerTakashi Iwai <tiwai@suse.de>
Thu, 23 May 2019 10:19:40 +0000 (12:19 +0200)
commite335425b65965e6bebdf1ebc8187d6732ddaad00
tree6e81d008567e8b8a0a0e1e5f58f061882c706160
parent8a400b999678996af6ca9434376b2260ec2ea9eb
ALSA: firewire-lib: split helper function to check incoming CIP header

A parser for CIP header in incoming packet is enough large.

This commit splits it into a helper function to better looks of packet
handler.

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