]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: snd-usb-caiaq: Correct offset fields of outbound iso_frame_desc
authorDaniel Mack <zonque@gmail.com>
Fri, 5 Aug 2011 11:49:52 +0000 (13:49 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 10 Aug 2011 18:05:47 +0000 (20:05 +0200)
commita583b70195a33a5f16ca5e1ab23995343925cb60
tree89430da374b8f97f70900285b116f01b0f0bdefd
parent01ebe5b956a22e6e3ac103238f542955d2217ff4
ALSA: snd-usb-caiaq: Correct offset fields of outbound iso_frame_desc

This fixes faulty outbount packets in case the inbound packets
received from the hardware are fragmented and contain bogus input
iso frames. The bug has been there for ages, but for some strange
reasons, it was only triggered by newer machines in 64bit mode.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Reported-and-tested-by: William Light <wrl@illest.net>
Reported-by: Pedro Ribeiro <pedrib@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/caiaq/audio.c