Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303947
b: refs/heads/master
c: 09c94e6
h: refs/heads/master
i:
  303945: 33ec46f
  303943: 0dcbcf1
v: v3
  • Loading branch information
Richard Zhao authored and Greg Kroah-Hartman committed May 15, 2012
1 parent d3e0c3c commit 33be15e
Show file tree
Hide file tree
Showing 2 changed files with 2 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: a756186b61d487c067411764080fd48f995d3799
refs/heads/master: 09c94e628ac3f871f06eaa7a5be266ca1aaa75a1
2 changes: 1 addition & 1 deletion trunk/drivers/usb/chipidea/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ static int hw_device_init(struct ci13xxx *ci, void __iomem *base)
ffs_nr(DCCPARAMS_DEN);
ci->hw_ep_max = reg * 2; /* cache hw ENDPT_MAX */

if (ci->hw_ep_max == 0 || ci->hw_ep_max > ENDPT_MAX)
if (ci->hw_ep_max > ENDPT_MAX)
return -ENODEV;

dev_dbg(ci->dev, "ChipIdea HDRC found, lpm: %d; cap: %p op: %p\n",
Expand Down

0 comments on commit 33be15e

Please sign in to comment.