Alan Stern 1b42ae6d43 USB: fix race in HCD removal
This patch (as865) fixes a race in the HCD removal code discovered by
Milan Plzik.  Arrival of an interrupt after the root hub was
unregistered could cause the root-hub status timer to start up, even
after it was supposed to have been shut down.  The problem is fixed by
moving the del_timer_sync() call to after the HCD's stop() method, at
which time IRQ generation should be disabled.

Cc: Milan Plzik <milan.plzik@gmail.com>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-04-27 13:28:34 -07:00
..
2007-02-07 15:44:40 -08:00
2007-04-27 13:28:34 -07:00
2007-04-27 13:28:34 -07:00
2007-04-27 10:57:34 -07:00
2006-12-08 08:28:50 -08:00
2007-03-26 14:17:48 -07:00
2007-02-23 15:03:47 -08:00
2007-02-07 15:44:40 -08:00
2007-04-27 13:28:34 -07:00
2007-04-27 13:28:34 -07:00