diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/gadget/pxa25x_udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/pxa25x_udc.c b/drivers/usb/gadget/pxa25x_udc.c index 697a0ca349bf..9b36205c5759 100644 --- a/drivers/usb/gadget/pxa25x_udc.c +++ b/drivers/usb/gadget/pxa25x_udc.c | |||
@@ -2198,7 +2198,7 @@ static int __init pxa25x_udc_probe(struct platform_device *pdev) | |||
2198 | udc_disable(dev); | 2198 | udc_disable(dev); |
2199 | udc_reinit(dev); | 2199 | udc_reinit(dev); |
2200 | 2200 | ||
2201 | dev->vbus = is_vbus_present(); | 2201 | dev->vbus = !!is_vbus_present(); |
2202 | 2202 | ||
2203 | /* irq setup after old hardware state is cleaned up */ | 2203 | /* irq setup after old hardware state is cleaned up */ |
2204 | retval = request_irq(irq, pxa25x_udc_irq, | 2204 | retval = request_irq(irq, pxa25x_udc_irq, |