]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-lib: fix invalid length of rx packet payload for tracepoint events
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 7 Jul 2019 12:07:53 +0000 (21:07 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 8 Jul 2019 12:50:36 +0000 (14:50 +0200)
commit4bf3603bed0359c0b2acb01f9eae594a506b22d8
tree2b2e691822fcb540eb9554126947ff82385d035d
parent91dd299f524aeb7adbdfd109f4fd8ffaabd62443
ALSA: firewire-lib: fix invalid length of rx packet payload for tracepoint events

Although CIP header is handled as context header, the length of isochronous
packet includes two quadlets for its payload. In tracepoints event the
value of payload_quadlets should includes the two quadlets. But at present
it doesn't.

This commit fixes the bug.

Fixes: bddcb73d7e4d ("ALSA: firewire-lib: use 8 byte packet header for IT context to separate CIP header from CIP payload")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp-stream.c