usb: dwc2: add controller hibernation support
authorGregory Herrero <gregory.herrero@intel.com>
Wed, 29 Apr 2015 20:09:01 +0000 (22:09 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 29 Apr 2015 20:18:37 +0000 (15:18 -0500)
commitd17ee77b3044da8b8f550bfdf3be8fdcc9d09858
tree1c99462052ea018ea7f25187e780530cda46b09c
parent563cf017c443137220428712d29cd5510dae2cb2
usb: dwc2: add controller hibernation support

When suspending usb bus, phy driver may disable controller power.
In this case, registers need to be saved on suspend and restored
on resume.

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