Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289621
b: refs/heads/master
c: d70d844
h: refs/heads/master
i:
  289619: 01c53e8
v: v3
  • Loading branch information
Felipe Balbi committed Feb 6, 2012
1 parent d393db1 commit a1d4bb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8b5d6b0a4353d0e3517947f894be215750d681bb
refs/heads/master: d70d84423cbc5d6d929640189cf204e693024309
3 changes: 2 additions & 1 deletion trunk/drivers/usb/dwc3/gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -2223,7 +2223,8 @@ static irqreturn_t dwc3_process_event_buf(struct dwc3 *dwc, u32 buf)
while (left > 0) {
union dwc3_event event;

memcpy(&event.raw, (evt->buf + evt->lpos), sizeof(event.raw));
event.raw = *(u32 *) (evt->buf + evt->lpos);

dwc3_process_event_entry(dwc, &event);
/*
* XXX we wrap around correctly to the next entry as almost all
Expand Down

0 comments on commit a1d4bb0

Please sign in to comment.