Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364575
b: refs/heads/master
c: 9fcb3bd
h: refs/heads/master
i:
  364573: 9927c9b
  364571: e1f4860
  364567: cf78982
  364559: 5b44d35
  364543: 0e4ad2a
v: v3
  • Loading branch information
Felipe Balbi committed Mar 18, 2013
1 parent f25a6d2 commit 9c22a59
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8698e2acf3a5e8d6f260ca7675f94e5087df5ae8
refs/heads/master: 9fcb3bd8d12db29c101d3722d37ddef9d1915317
1 change: 1 addition & 0 deletions trunk/drivers/usb/dwc3/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/usb/dwc3/gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -1425,8 +1425,10 @@ static int dwc3_gadget_run_stop(struct dwc3 *dwc, int is_on)
if (dwc->revision >= DWC3_REVISION_194A)
reg &= ~DWC3_DCTL_KEEP_CONNECT;
reg |= DWC3_DCTL_RUN_STOP;
dwc->pullups_connected = true;
} else {
reg &= ~DWC3_DCTL_RUN_STOP;
dwc->pullups_connected = false;
}

dwc3_writel(dwc->regs, DWC3_DCTL, reg);
Expand Down

0 comments on commit 9c22a59

Please sign in to comment.