diff --git a/drivers/usb/otg/gpio_vbus.c b/drivers/usb/otg/gpio_vbus.c index 66af743ec598055b3660ff2a591d104492bd99cf..ac962acfbb18a80b7eb452090e0765384f05d2d9 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) return 0; err_otg: + regulator_put(gpio_vbus->vbus_draw); free_irq(irq, pdev); err_irq: if (gpio_is_valid(pdata->gpio_pullup))