summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/core.h
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-08 15:55:58 (GMT)
committerFelipe Balbi <balbi@ti.com>2013-03-18 09:17:00 (GMT)
commit9fcb3bd8d12db29c101d3722d37ddef9d1915317 (patch)
tree3e0f55e5a6041ff7dd059862d51a20149f4c397c /drivers/usb/dwc3/core.h
parent8698e2acf3a5e8d6f260ca7675f94e5087df5ae8 (diff)
downloadlinux-fsl-qoriq-9fcb3bd8d12db29c101d3722d37ddef9d1915317.tar.xz
usb: dwc3: gadget: save state of pullups
This will be used during resume to verify if we should reconnect our pullups or not. Tested-by: Vivek Gautam <gautam.vivek@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/core.h')
-rw-r--r--drivers/usb/dwc3/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index b417506..35e4d3c 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -704,6 +704,7 @@ struct dwc3 {
unsigned delayed_status:1;
unsigned needs_fifo_resize:1;
unsigned resize_fifos:1;
+ unsigned pullups_connected:1;
enum dwc3_ep0_next ep0_next_event;
enum dwc3_ep0_state ep0state;