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 00e763ecb55a..1e6bd0347aff 100644 --- a/drivers/usb/otg/gpio_vbus.c +++ b/drivers/usb/otg/gpio_vbus.c | |||
@@ -348,6 +348,7 @@ static int __exit gpio_vbus_remove(struct platform_device *pdev) | |||
348 | struct gpio_vbus_mach_info *pdata = pdev->dev.platform_data; | 348 | struct gpio_vbus_mach_info *pdata = pdev->dev.platform_data; |
349 | int gpio = pdata->gpio_vbus; | 349 | int gpio = pdata->gpio_vbus; |
350 | 350 | ||
351 | cancel_delayed_work_sync(&gpio_vbus->work); | ||
351 | regulator_put(gpio_vbus->vbus_draw); | 352 | regulator_put(gpio_vbus->vbus_draw); |
352 | 353 | ||
353 | usb_set_transceiver(NULL); | 354 | usb_set_transceiver(NULL); |