summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/core.h
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2016-05-04 15:50:27 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-06-20 12:30:04 +0300
commit9f8a67b65a49d0e35c6ca782136c84541d948a64 (patch)
tree300dd24af3e0d5d534737f6e2acdcc955be7c9be /drivers/usb/dwc3/core.h
parentd7be295243bbe53649986d869b398403eaa41bb7 (diff)
usb: dwc3: gadget: fix gadget suspend/resume
Instead of trying hard to stay connected to the host, it's best (and far easier) to disconnect from the host already. Anything relying on KEEP_CONNECT will just have that ignored, but we don't have proper hibernation implementation yet, so there are no regressions. In any case, hibernation is only useful for runtime PM, not system sleep. While at that, also remove dwc3.dcfg which has been rendered unnecessary. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/core.h')
-rw-r--r--drivers/usb/dwc3/core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index 654050684f4f..c881c8232e21 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -819,7 +819,6 @@ struct dwc3 {
enum usb_dr_mode dr_mode;
/* used for suspend/resume */
- u32 dcfg;
u32 gctl;
u32 nr_scratch;