]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: Fix idling after host mode by increasing autosuspend delay
authorTony Lindgren <tony@atomide.com>
Tue, 31 May 2016 15:05:09 +0000 (10:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Jun 2016 21:58:59 +0000 (14:58 -0700)
commite54b40681b300b6bdcce922f577ab1cfdfeaf68b
tree24d2ed214a40b5a3ec655a4a54803c1ecb90fe77
parent0424c15ad1893d981ccb9bbe61b6846f9fb886c8
usb: musb: Fix idling after host mode by increasing autosuspend delay

Looks like at least 2430 glue won't idle reliably with the 200 ms
autosuspend delay. This causes deeper idle states being blocked for
the whole SoC when disconnecting OTG A cable.

Increasing the delay to 500 ms seems to idle both MUSB and the PHY
reliably. This is probably because of time needed by the hardware
based negotiation between MUSB and the PHY.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_core.c