]> git.karo-electronics.de Git - linux-beck.git/commit
USB: ehci: fix audio record functionality for some Full speed sound blaster devices
authorDmitri Epshtein <dima@marvell.com>
Mon, 14 Dec 2009 15:17:34 +0000 (17:17 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:13 +0000 (14:53 -0800)
commit22e186948a262c9cd377fb43aa50bb3c3f01c468
treeaf089f6c1eeac5d5d50783f08b6a4deb262259c8
parentd63c66d2d08f52487f3ef32f1c9b1231d848966b
USB: ehci: fix audio record functionality for some Full speed sound blaster devices

This patch fix audio record functionality for some Full speed sound blaster devices.
Issue: Sometimes transaction complete indication is coming from HW one frame later.
Solution: If scan_periodic process now frame or previous frame now-1 and sitd transaction
is not finished yet, exit scan_periodic function and check the same transaction in the next frame.

Signed-off-by: Dimitry Epshtein <dima@marvell.com>
Signed-off-by: Saeed Bishara <saeed@marvell.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-sched.c