OSDN Git Service

usb: dwc2: Backup and restore PCGCCTL1 register
authorRazmik Karapetyan <razmik@synopsys.com>
Wed, 24 Jan 2018 13:40:56 +0000 (17:40 +0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 13 Mar 2018 08:47:47 +0000 (10:47 +0200)
commit600a490e180fb95e487b180f00985567c00fa9a9
tree6f5046f289d8829207438f2f9c9b942db1e8d139
parent66e77a24a8c36ff83f0a12f44d23d8141e82fa3b
usb: dwc2: Backup and restore PCGCCTL1 register

Backup PCGCCTL1 register when entering hibernation mode and
restore it after exiting from hibernation, to keep active ACG
feature.

Signed-off-by: Razmik Karapetyan <razmik@synopsys.com>
Signed-off-by: Grigor Tovmasyan <tovmasya@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/core.c
drivers/usb/dwc2/core.h