ALSA: firewire-lib: code refactoring for check of CIP header about payload size
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 18 May 2021 13:00:45 +0000 (22:00 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 18 May 2021 16:12:31 +0000 (18:12 +0200)
commit4fd1878766a12dc29fe343e1f57177feebb7567a
tree3e557e720863961b81e1d9097de861a2529ca061
parentebd2a647e2f6b96ae8d2dec355e780b2e421bcf9
ALSA: firewire-lib: code refactoring for check of CIP header about payload size

The size of CIP payload is now passed to helper function to parse CIP
header.

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