• Alan Stern's avatar
    [PATCH] USB: Code cleanup for the UHCI driver · 5609e1a2
    Alan Stern authored
    This patch makes some simple cleanups in the UHCI driver:
    
    	It introduces msecs_to_jiffies() conversions and uses msleep().
    
    	It wakes up threads waiting for an endpoint to be disabled
    	in the oddball case where interrupts aren't working.  (This
    	should have been in a previous patch but I missed it.)
    
    	It disables PCI interrupt generation whenever the controller
    	is reset and enables it when the controller is started.  This
    	may possibly solve some people's problems with suspend/resume.
    Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    5609e1a2
uhci-hcd.c 63.7 KB