Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 326129
b: refs/heads/master
c: f3f4bf5
h: refs/heads/master
i:
  326127: 5c93901
v: v3
  • Loading branch information
Joachim Eastwood authored and Greg Kroah-Hartman committed Sep 24, 2012
1 parent a72e8df commit 9d52dc9
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 0220a3f01ab3d4673ca7087701d7466bea6b1d3a
refs/heads/master: f3f4bf5cf0896e58e9831ea53bcb8c7d88127d20
3 changes: 2 additions & 1 deletion trunk/drivers/usb/host/ohci-at91.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,8 @@ static irqreturn_t ohci_hcd_at91_overcurrent_irq(int irq, void *data)
/* From the GPIO notifying the over-current situation, find
* out the corresponding port */
at91_for_each_port(port) {
if (gpio_to_irq(pdata->overcurrent_pin[port]) == irq) {
if (gpio_is_valid(pdata->overcurrent_pin[port]) &&
gpio_to_irq(pdata->overcurrent_pin[port]) == irq) {
gpio = pdata->overcurrent_pin[port];
break;
}
Expand Down

0 comments on commit 9d52dc9

Please sign in to comment.