summaryrefslogtreecommitdiffstats
path: root/sound/firewire/amdtp-stream-trace.h
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2018-12-15 19:03:19 +0900
committerTakashi Iwai <tiwai@suse.de>2018-12-16 10:10:18 +0100
commitada79fa5a0b374dd2c2262137c734da7524a8263 (patch)
treeb603eabf4f35b31dcea37649905e1e0297962ee1 /sound/firewire/amdtp-stream-trace.h
parent576d28812d82e94e2836632ff7e2d093099a1139 (diff)
downloadlinux-ada79fa5a0b374dd2c2262137c734da7524a8263.tar.bz2
ALSA: firewire-lib: fix wrong handling payload_length as payload_quadlet
In IEC 61883-1/6 engine of ALSA firewire stack, a packet handler has a second argument for 'the number of bytes in payload of isochronous packet'. However, an incoming packet handler without CIP header uses the value as 'the number of quadlets in the payload'. This brings userspace applications to receive the number of PCM frames as four times against real time. This commit fixes the bug. Cc: <stable@vger.kernel.org> # v4.12+ Fixes: 3b196c394dd ('ALSA: firewire-lib: add no-header packet processing') Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/amdtp-stream-trace.h')
0 files changed, 0 insertions, 0 deletions