ALSA: firewire-lib: fix calculation for size of IR context payload
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 13 May 2021 12:56:51 +0000 (21:56 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 14 May 2021 07:41:16 +0000 (09:41 +0200)
commit1be4f21d9984fa9835fae5411a29465dc5aece6f
tree9b9427fc55b7659dd449e000bca5ca60b4da679c
parent395f41e2cdac63e7581fb9574e5ac0f02556e34a
ALSA: firewire-lib: fix calculation for size of IR context payload

The quadlets for CIP header is handled as a part of IR context header,
thus it doesn't join in IR context payload. However current calculation
includes the quadlets in IR context payload.

Cc: <stable@vger.kernel.org>
Fixes: f11453c7cc01 ("ALSA: firewire-lib: use 16 bytes IR context header to separate CIP header")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210513125652.110249-5-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp-stream.c