Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298683
b: refs/heads/master
c: 1e7caf8
h: refs/heads/master
i:
  298681: 021dc08
  298679: 8aed373
v: v3
  • Loading branch information
Nicolas Ferre committed Apr 4, 2012
1 parent f3d7ad3 commit 25e8cae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 7bd9523969299f4c845615eade5e523f840dc34c
refs/heads/master: 1e7caf8bcf1b49eae152ad7cf442775472dd587c
4 changes: 2 additions & 2 deletions trunk/drivers/usb/host/ohci-at91.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ static void ohci_at91_usb_set_power(struct at91_usbh_data *pdata, int port, int
return;

gpio_set_value(pdata->vbus_pin[port],
!pdata->vbus_pin_active_low[port] ^ enable);
pdata->vbus_pin_active_low[port] ^ enable);
}

static int ohci_at91_usb_get_power(struct at91_usbh_data *pdata, int port)
Expand All @@ -259,7 +259,7 @@ static int ohci_at91_usb_get_power(struct at91_usbh_data *pdata, int port)
return -EINVAL;

return gpio_get_value(pdata->vbus_pin[port]) ^
!pdata->vbus_pin_active_low[port];
pdata->vbus_pin_active_low[port];
}

/*
Expand Down

0 comments on commit 25e8cae

Please sign in to comment.