uhci.c didn't work well with USB storage. It would tend to stall
authorJohannes Erdfelt <johannes@erdfelt.com>
Wed, 20 Feb 2002 08:00:37 +0000 (00:00 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 20 Feb 2002 08:00:37 +0000 (00:00 -0800)
commitf12da37a9dc275c13ca47420d1dc3ff2ac13cb6f
tree727bada43fe80d81adfb11a9b5614e232796eea9
parent640bcbba1eef6e5b2092c6c6386368558122de0c
uhci.c didn't work well with USB storage. It would tend to stall
relatively quickly and sometimes locked up the system. It usually only
took me a couple of tries ripping a CD to reproduce the problem.

I took a long hard look at the locking in uhci.c and decided to clean
it up, fixing a couple of bugs along the way as well as documenting the
locking strategy.

With this patch applies, where I could only rip a CD a couple of times
before causing problems, I was able to rip a CD 12,000 times in a row
successfully, before I stopped it. Not a single error :)
drivers/usb/uhci.c
drivers/usb/uhci.h