usb: dwc2: add hibernation core parameter
authorGregory Herrero <[email protected]>
Wed, 29 Apr 2015 20:09:19 +0000 (22:09 +0200)
committerFelipe Balbi <[email protected]>
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 <[email protected]>
Signed-off-by: Gregory Herrero <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
drivers/usb/dwc2/core.c
drivers/usb/dwc2/core.h
drivers/usb/dwc2/core_intr.c
drivers/usb/dwc2/platform.c