linux_dsm_epyc7002/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
..
buffer.c
config.c usb-core bInterval quirk 2014-08-01 15:47:05 -07:00
devices.c
devio.c USB: devio: fix issue with log flooding 2014-08-01 16:01:46 -07:00
driver.c USB: shutdown all URBs after controller death 2014-07-17 16:59:27 -07:00
endpoint.c
file.c
generic.c
hcd-pci.c USB: core: hcd-pci: free IRQ before disabling PCI device when shutting down 2014-07-22 16:30:58 -07:00
hcd.c usb: Do not allow usb_alloc_streams on unconfigured devices 2014-11-03 15:26:15 -08:00
hub.c usb: core: notify disconnection when core detects disconnect 2014-11-03 19:29:55 -08:00
hub.h usb: hub: convert khubd into workqueue 2014-09-23 22:33:19 -07:00
Kconfig usb: core: Kconfig: TPL should apply for both OTG and EH 2014-09-23 21:28:41 -07:00
Makefile
message.c usb: core: log higher level message on malformed LANGID descriptor 2014-09-28 21:54:26 -04:00
notify.c
otg_whitelist.h usb: core: TPL should apply for both OTG and EH 2014-09-23 21:28:41 -07:00
port.c usb: force warm reset to break link re-connect livelock 2014-07-09 15:43:12 -07:00
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: core: allow zero packet flag for interrupt urbs 2014-07-22 16:30:58 -07:00
usb-acpi.c usb: find internal hub tier mismatch via acpi 2014-05-27 16:38:52 -07:00
usb.c USB: Add EXPORT_SYMBOL for usb_alloc_dev 2014-07-17 17:11:09 -07:00
usb.h usb: hub: rename usb_kick_khubd() to usb_kick_hub_wq() 2014-09-23 22:33:19 -07:00