usb: dwc2: Changes in registers backup/restore functions
authorVardan Mikayelyan <mvardan@synopsys.com>
Fri, 16 Feb 2018 10:09:19 +0000 (14:09 +0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 13 Mar 2018 08:47:55 +0000 (10:47 +0200)
commit66a360962952822764c57240d5787d68e2b41c13
tree173c83cf8eb119a98965a694d461b6dca1eeb8fd
parentfa389a6d77264ae1b1263dc83c63503593e21ca9
usb: dwc2: Changes in registers backup/restore functions

Move hptxfsiz to host register's backup/restore functions, not
needed to have it in global register's backup/restore functions.

Add backup for glpmcfg, and read/write for gi2cctl and pcgcctl.
As requires programming guide.

Affected functions:
dwc2_backup_host_registers()
dwc2_restore_host_registers()
dwc2_backup_global_registers()
dwc2_restore_global_registers()

Signed-off-by: Vardan Mikayelyan <mvardan@synopsys.com>
Signed-off-by: John Youn <johnyoun@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
drivers/usb/dwc2/hcd.c