Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163463
b: refs/heads/master
c: 0bb886d
h: refs/heads/master
i:
  163461: 6d133e4
  163459: 7341287
  163455: a7b4e46
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Aug 20, 2009
1 parent 1616dca commit e75f2a7
Show file tree
Hide file tree
Showing 2 changed files with 10 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: ef5ce3b69028ea32aa87e98c9a3802e7c9f824b6
refs/heads/master: 0bb886d2a9c2d4e069ca364e36c52c7ae6d1ca8c
9 changes: 9 additions & 0 deletions trunk/drivers/usb/gadget/r8a66597-udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -614,8 +614,17 @@ static void disable_controller(struct r8a66597 *r8a66597)
if (r8a66597->pdata->on_chip) {
r8a66597_bset(r8a66597, SCKE, SYSCFG0);

/* disable interrupts */
r8a66597_write(r8a66597, 0, INTENB0);
r8a66597_write(r8a66597, 0, INTENB1);
r8a66597_write(r8a66597, 0, BRDYENB);
r8a66597_write(r8a66597, 0, BEMPENB);
r8a66597_write(r8a66597, 0, NRDYENB);

/* clear status */
r8a66597_write(r8a66597, 0, BRDYSTS);
r8a66597_write(r8a66597, 0, NRDYSTS);
r8a66597_write(r8a66597, 0, BEMPSTS);

r8a66597_bclr(r8a66597, USBE, SYSCFG0);
r8a66597_bclr(r8a66597, SCKE, SYSCFG0);
Expand Down

0 comments on commit e75f2a7

Please sign in to comment.