From: Tony Zheng Date: Fri, 17 Oct 2014 11:43:02 +0000 (+0800) Subject: usb: core: need to call usb_phy_notify_connect after device setup X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~144^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01ed67dc70834d00d62b6e754ee0f76301fbc140;p=pandora-kernel.git 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+ Signed-off-by: Tony Zheng Signed-off-by: Peter Chen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed