diff options
author | Alan Stern | 2007-03-13 16:10:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2007-04-27 22:28:34 +0200 |
commit | 1b42ae6d4355328dc4406b6f0188adcf8c566435 (patch) | |
tree | 054e44f46fd7c2c4b25e4a7d40313879c5a4bffd /drivers/usb/host/ehci-fsl.h | |
parent | USB: MAINTAINERS: cxacru (diff) | |
download | kernel-qcow2-linux-1b42ae6d4355328dc4406b6f0188adcf8c566435.tar.gz kernel-qcow2-linux-1b42ae6d4355328dc4406b6f0188adcf8c566435.tar.xz kernel-qcow2-linux-1b42ae6d4355328dc4406b6f0188adcf8c566435.zip |
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>
Diffstat (limited to 'drivers/usb/host/ehci-fsl.h')
0 files changed, 0 insertions, 0 deletions