Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325874
b: refs/heads/master
c: 1dcaa25
h: refs/heads/master
v: v3
  • Loading branch information
Yunfan Zhang authored and Felipe Balbi committed Aug 23, 2012
1 parent b216140 commit 5001e93
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 60326ce377090541db9ba1a05a041316ab5b46ec
refs/heads/master: 1dcaa252fdf01e4ba49ece156812043baf01c7cc
2 changes: 2 additions & 0 deletions trunk/drivers/usb/gadget/mv_udc_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2501,9 +2501,11 @@ static void mv_udc_shutdown(struct platform_device *dev)
u32 mode;

/* reset controller mode to IDLE */
mv_udc_enable(udc);
mode = readl(&udc->op_regs->usbmode);
mode &= ~3;
writel(mode, &udc->op_regs->usbmode);
mv_udc_disable(udc);
}

static struct platform_driver udc_driver = {
Expand Down

0 comments on commit 5001e93

Please sign in to comment.