original_kernel/drivers/usb/core
Peter Chen b2108f1e51 usb: core: notify disconnection when core detects disconnect
It is safe to call notify disconnect when the usb core
thinks the device is disconnected.

This commit also fixes one bug found at below situation:
we have not enabled usb wakeup, we do system suspend when
there is an usb device at the port, after suspend, we plug out
the usb device, then plug in device again. At that time,
the nofity disconnect was not called at current code, as
the controller doesn't know the usb device was disconnected
during the suspend, but USB core knows the port has changed
during that periods.

So to fix this problem, and let the usb core call notify disconnect.

Cc: 3.17+ <stable@vger.kernel.org>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-11-03 19:29:55 -08:00
..
Kconfig
Makefile
buffer.c
config.c
devices.c
devio.c
driver.c
endpoint.c
file.c
generic.c
hcd-pci.c
hcd.c
hub.c usb: core: notify disconnection when core detects disconnect 2014-11-03 19:29:55 -08:00
hub.h
message.c
notify.c
otg_whitelist.h
port.c
quirks.c USB: quirks: enable device-qualifier quirk for yet another Elan touchscreen 2014-11-03 15:26:32 -08:00
sysfs.c
urb.c
usb-acpi.c
usb.c
usb.h