Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91346
b: refs/heads/master
c: 8d12c32
h: refs/heads/master
v: v3
  • Loading branch information
Stelian Pop authored and Haavard Skinnemoen committed Apr 6, 2008
1 parent 694bdf9 commit 2dc88b7
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: 7a242471af4d15c2637025f0acd352c0a92a4cc4
refs/heads/master: 8d12c32c19a2719f6a96a23e94d95699c47e55d0
2 changes: 1 addition & 1 deletion trunk/drivers/usb/gadget/atmel_usba_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1937,7 +1937,7 @@ static int __init usba_udc_probe(struct platform_device *pdev)
goto err_device_add;
}

if (pdata && pdata->vbus_pin != GPIO_PIN_NONE) {
if (pdata && pdata->vbus_pin >= 0) {
if (!gpio_request(pdata->vbus_pin, "atmel_usba_udc")) {
udc->vbus_pin = pdata->vbus_pin;

Expand Down

0 comments on commit 2dc88b7

Please sign in to comment.