]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
[PATCH] Repair snd-usb-usx2y over OHCI
authorKarsten Wiese <fzu@wemgehoertderstaat.de>
Wed, 10 Jan 2007 12:33:27 +0000 (13:33 +0100)
committerChris Wright <chrisw@sous-sol.org>
Mon, 5 Feb 2007 16:31:40 +0000 (08:31 -0800)
commit4405173d05605d580f8d8d651aca9246ee651d92
tree8eaa0c413df7e17c5951143b597c1d937b7d068a
parent7d9ba65c925f7d8224ce49d4f9cc41f60d758227
[PATCH] Repair snd-usb-usx2y over OHCI

The previous patch "Repair snd-usb-usx2y for usb 2.6.18" assumed
urb->start_frame roll over beyond MAX_INT for both UHCI & OHCI.
This isn't true until now (kernel 2.6.20).
Fix this by only looking at the common between OHCI & UHCI Frame number
range.
This is for mainline and stable kernels >= 2.6.18.

Signed-off-by: Karsten Wiese <fzu@wemgehoertderstaat.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
sound/usb/usx2y/usbusx2yaudio.c
sound/usb/usx2y/usx2yhwdeppcm.c