]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00210686 USB:fix unplug&plug device during suspend without wakeup enabled
authormake shi <b15407@freescale.com>
Thu, 31 May 2012 02:24:10 +0000 (10:24 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:12:01 +0000 (14:12 +0200)
commitf77cd8da563fec59400341903e1f27372fb00be8
tree332a03bded549c235e8de1d352f75408bcf26974
parentb64c85078be9f200d422f879db00d57c591ecbbe
ENGR00210686 USB:fix unplug&plug device during suspend without wakeup enabled

For High speed device ,we need clear BM_USBPHY_CTRL_ENHOSTDISCONDETECT
after suspend.For Low and full speed device, we should power on and power
off the USB port to make sure USB internal state machine work well.

Add a config to enable/disable this code,the code is enabled by default.

Signed-off-by: make shi <b15407@freescale.com>
drivers/usb/core/hub.c
drivers/usb/host/ehci-arc.c