usb: dwc2: gadget: exit hibernation before power down
authorGregory Herrero <gregory.herrero@intel.com>
Tue, 29 Sep 2015 10:08:28 +0000 (12:08 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 1 Oct 2015 17:40:27 +0000 (12:40 -0500)
commit61f7223bf14689382fdf36b7580f206745c2409a
treed81fc7466e37c9f0a164adc325240a92b81c419d
parent1ee6903b8f9bbcbeb7cf72e5127d7a0b8aeb267c
usb: dwc2: gadget: exit hibernation before power down

When disconnecting cable, controller will detect a suspend condition
and enter partial power down. If vbus_session is called by the phy
driver during hibernation, make sure controller exit hibernation
before it is accessed.

Signed-off-by: Jianqiang Tang <jianqiang.tang@intel.com>
Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Tested-by: Robert Baldyga <r.baldyga@samsung.com>
Tested-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Tested-by: John Youn <johnyoun@synopsys.com>
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c
This page took 0.024883 seconds and 5 git commands to generate.