diff options
-rw-r--r-- | drivers/usb/otg/gpio_vbus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/otg/gpio_vbus.c b/drivers/usb/otg/gpio_vbus.c index 66af743ec598..ac962acfbb18 100644 --- a/drivers/usb/otg/gpio_vbus.c +++ b/drivers/usb/otg/gpio_vbus.c | |||
@@ -319,6 +319,7 @@ static int __init gpio_vbus_probe(struct platform_device *pdev) | |||
319 | 319 | ||
320 | return 0; | 320 | return 0; |
321 | err_otg: | 321 | err_otg: |
322 | regulator_put(gpio_vbus->vbus_draw); | ||
322 | free_irq(irq, pdev); | 323 | free_irq(irq, pdev); |
323 | err_irq: | 324 | err_irq: |
324 | if (gpio_is_valid(pdata->gpio_pullup)) | 325 | if (gpio_is_valid(pdata->gpio_pullup)) |