Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364794
b: refs/heads/master
c: 1cb5e9e
h: refs/heads/master
v: v3
  • Loading branch information
Yuan-Hsin Chen authored and Felipe Balbi committed Apr 2, 2013
1 parent 71fe721 commit 7c84414
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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: 9770a16fd9d9c5a91378d53732be1d2ec599bfcf
refs/heads/master: 1cb5e9ee033f89d3241013cfff8300cc0195a62d
9 changes: 6 additions & 3 deletions trunk/drivers/usb/gadget/fusb300_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -930,12 +930,15 @@ static void fusb300_wait_idma_finished(struct fusb300_ep *ep)

fusb300_clear_int(ep->fusb300, FUSB300_OFFSET_IGR0,
FUSB300_IGR0_EPn_PRD_INT(ep->epnum));
return;

IDMA_RESET:
fusb300_clear_int(ep->fusb300, FUSB300_OFFSET_IGER0,
FUSB300_IGER0_EEPn_PRD_INT(ep->epnum));
reg = ioread32(ep->fusb300->reg + FUSB300_OFFSET_IGER0);
reg &= ~FUSB300_IGER0_EEPn_PRD_INT(ep->epnum);
iowrite32(reg, ep->fusb300->reg + FUSB300_OFFSET_IGER0);
}

static void fusb300_set_idma(struct fusb300_ep *ep,
static void fusb300_set_idma(struct fusb300_ep *ep,
struct fusb300_request *req)
{
int ret;
Expand Down

0 comments on commit 7c84414

Please sign in to comment.