diff options
author | Tony Zheng <Tony.Zheng@freescale.com> | 2014-10-17 19:43:02 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-03 15:48:45 -0800 |
commit | 01ed67dc70834d00d62b6e754ee0f76301fbc140 (patch) | |
tree | cceaba52e4be45983d6f067c72dd7e272e0aebfb /drivers/pci/hotplug-pci.c | |
parent | d1d9548256fbdf2e049d6413a5266c41e73658ee (diff) |
usb: core: need to call usb_phy_notify_connect after device setup
Since we notify disconnecting based on the usb device is existed
(port_dev->child, the child device at roothub is not NULL), we
need to notify connect after device has been registered.
This fixes a bug that do fast plug in/out test, and the notify_disconnect
is not called due to roothub child is NULL and the enumeration has failed.
Cc: v3.17+ <stable@vger.kernel.org>
Signed-off-by: Tony Zheng <Tony.Zheng@freescale.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pci/hotplug-pci.c')
0 files changed, 0 insertions, 0 deletions