[ALSA] Repair snd-usb-usx2y over OHCI
authorKarsten Wiese <fzu@wemgehoertderstaat.de>
Wed, 10 Jan 2007 18:02:26 +0000 (19:02 +0100)
committerJaroslav Kysela <perex@suse.cz>
Tue, 23 Jan 2007 08:23:36 +0000 (09:23 +0100)
commitbc6191b10018311a301fb6ef22994177c769b868
treed3dd99a4c1701500b71c1f35b85281b015a1d88b
parent9ee79a3d372fcb6729893437f4923c5efd1f85db
[ALSA] 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: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/usb/usx2y/usbusx2yaudio.c
sound/usb/usx2y/usx2yhwdeppcm.c