usb: dwc2: add hibernation core parameter
authorGregory Herrero <gregory.herrero@intel.com>
Wed, 29 Apr 2015 20:09:19 +0000 (22:09 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 29 Apr 2015 20:20:17 +0000 (15:20 -0500)
commit285046aa11ad85a4de24891f5458d45f50d1bcc5
treed82ee50aa226cd772ea2850a7ed7de5cb8710fe7
parent2d1165a4b95e25aed83fed737d53ab0c87b831e6
usb: dwc2: add hibernation core parameter

dwc2 may not be able to exit from hibernation if the hardware
does not provide a way to detect resume signalling in this state.
Thus, add the possibility to disable hibernation feature.

Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/core.c
drivers/usb/dwc2/core.h
drivers/usb/dwc2/core_intr.c
drivers/usb/dwc2/platform.c