Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299411
b: refs/heads/master
c: 659ad60
h: refs/heads/master
i:
  299409: ee2dbe8
  299407: 976f21e
v: v3
  • Loading branch information
Anton Tikhomirov authored and Felipe Balbi committed Apr 10, 2012
1 parent 1162473 commit cd9a1ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: f7a83fe19336125d7eb26488788dc66c03f2c08e
refs/heads/master: 659ad60cb9128345d0a6b9093dda9b0e366b7937
10 changes: 6 additions & 4 deletions trunk/drivers/usb/gadget/s3c-hsotg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1696,10 +1696,12 @@ static void s3c_hsotg_set_ep_maxpacket(struct s3c_hsotg *hsotg,
reg |= mpsval;
writel(reg, regs + S3C_DIEPCTL(ep));

reg = readl(regs + S3C_DOEPCTL(ep));
reg &= ~S3C_DxEPCTL_MPS_MASK;
reg |= mpsval;
writel(reg, regs + S3C_DOEPCTL(ep));
if (ep) {
reg = readl(regs + S3C_DOEPCTL(ep));
reg &= ~S3C_DxEPCTL_MPS_MASK;
reg |= mpsval;
writel(reg, regs + S3C_DOEPCTL(ep));
}

return;

Expand Down

0 comments on commit cd9a1ac

Please sign in to comment.