]> git.itanic.dy.fi Git - linux-stable/commit
USB: EHCI: defer reclamation of siTDs
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 8 Apr 2010 20:56:37 +0000 (16:56 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 May 2010 21:56:59 +0000 (14:56 -0700)
commit9ab04f8dc2ec32b1065ab9dfcca3c92456fa77e0
tree8a9a789587bafa1a372126038c31775142337523
parent5bf3475919c4544e2b09eacf0a608a632af756e9
USB: EHCI: defer reclamation of siTDs

commit 0e5f231bc16ff9910882fa5b9d64d80e7691cfab upstream.

This patch (as1369) fixes a problem in ehci-hcd.  Some controllers
occasionally run into trouble when the driver reclaims siTDs too
quickly.  This can happen while streaming audio; it causes the
controller to crash.

The patch changes siTD reclamation to work the same way as iTD
reclamation: Completed siTDs are stored on a list and not reused until
at least one frame has passed.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Nate Case <ncase@xes-inc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ehci-mem.c
drivers/usb/host/ehci-sched.c
drivers/usb/host/ehci.h