]> git.karo-electronics.de Git - linux-beck.git/commit
USB: Make device reset stop retrying after disconnect
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 4 May 2007 15:55:54 +0000 (11:55 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:29:47 +0000 (16:29 -0700)
commitdd4dd19e8d13e1e9bf8295bf71f132b511b130bf
treed2202761f84ab4d04ca21c28d7dbefd689e2acc2
parent3c519b846c4d5edf7c94d1eede42445a815bf65c
USB: Make device reset stop retrying after disconnect

This patch (as898) changes the port reset code in the hub driver.  If
a connect change occurs, it is reported the same way as a disconnect
(which of course is what it really is).

It also changes usb_reset_device(), to prevent the routine from futilely
retrying the reset after a disconnect has occurred.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c