Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265087
b: refs/heads/master
c: 651f5e4
h: refs/heads/master
i:
  265085: 51c42e9
  265083: 5290786
  265079: 4e1e013
  265071: edd2310
  265055: a6cacfe
  265023: 1677786
  264959: 5257f87
v: v3
  • Loading branch information
Kuninori Morimoto authored and Felipe Balbi committed Oct 13, 2011
1 parent 9428031 commit c5b0c1d
Show file tree
Hide file tree
Showing 2 changed files with 11 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: 0c6ef985ced753b60ecdc091fa49c3f5fa4a4f79
refs/heads/master: 651f5e49dd3d369711bd622f4bc72c2fa30a3cf9
11 changes: 10 additions & 1 deletion trunk/drivers/usb/renesas_usbhs/mod.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,14 @@ void usbhs_irq_callback_update(struct usbhs_priv *priv, struct usbhs_mod *mod)
u16 intenb0 = 0;
struct usbhs_mod_info *info = usbhs_priv_to_modinfo(priv);

/*
* BEMPENB/BRDYENB are picky.
* below method is required
*
* - clear INTSTS0
* - update BEMPENB/BRDYENB
* - update INTSTS0
*/
usbhs_write(priv, INTENB0, 0);

usbhs_write(priv, BEMPENB, 0);
Expand Down Expand Up @@ -324,5 +332,6 @@ void usbhs_irq_callback_update(struct usbhs_priv *priv, struct usbhs_mod *mod)
}
}

usbhs_write(priv, INTENB0, intenb0);
if (intenb0)
usbhs_write(priv, INTENB0, intenb0);
}

0 comments on commit c5b0c1d

Please sign in to comment.