projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
348409a
)
USB: gadget: at91_adc: fix pullup pin validity check
author
Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com>
Sun, 23 Dec 2012 18:08:04 +0000
(19:08 +0100)
committer
Felipe Balbi
<balbi@ti.com>
Thu, 10 Jan 2013 10:41:01 +0000
(12:41 +0200)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: linux-usb@vger.kernel.org
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/at91_udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/at91_udc.c
b/drivers/usb/gadget/at91_udc.c
index e81d8a223f76f973ab6e37483b6d0aee4eac36dc..10f45fa01abdf989b28aa91220b89832ab3340c8 100644
(file)
--- a/
drivers/usb/gadget/at91_udc.c
+++ b/
drivers/usb/gadget/at91_udc.c
@@
-1738,7
+1738,7
@@
static int at91udc_probe(struct platform_device *pdev)
/* rm9200 needs manual D+ pullup; off by default */
if (cpu_is_at91rm9200()) {
- if (gpio_is_valid(udc->board.pullup_pin)) {
+ if (
!
gpio_is_valid(udc->board.pullup_pin)) {
DBG("no D+ pullup?\n");
retval = -ENODEV;
goto fail0;