]> 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)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:45 +0000 (08:34 +0200)
commit38c677e6ca95d7c1cb557b67e1a84c10cfcc1854
tree332a03bded549c235e8de1d352f75408bcf26974
parent0b208f4a5bb576dad7b64de67e45f78724c44402
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