]> git.kernelconcepts.de Git - karo-tx-linux.git/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>
Thu, 22 Apr 2010 22:18:28 +0000 (15:18 -0700)
commit0e5f231bc16ff9910882fa5b9d64d80e7691cfab
tree6312287dcfdd99634ce9027f6ba08e087c124b0e
parent5f677f1d45b2bf08085bbba7394392dfa586fa8e
USB: EHCI: defer reclamation of siTDs

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>
CC: <stable@kernel.org>
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