]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 29 Aug 2011 21:08:04 +0000 (14:08 -0700)
commit6d05cd302c104ace56a7314deec12f181a92c434
tree7a012abee93bbc97120ef973e8f0227595d38207
parent3ca969416e0fda795c58508d3fa918572326783d
ALSA: snd-usb-caiaq: Correct offset fields of outbound iso_frame_desc

commit 15439bde3af7ff88459ea2b5520b77312e958df2 upstream.

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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/usb/caiaq/audio.c