Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227039
b: refs/heads/master
c: 2c8245c
h: refs/heads/master
i:
  227037: 53a84fe
  227035: fd2745c
  227031: 2d695a6
  227023: d752035
  227007: 45198f3
v: v3
  • Loading branch information
Rob Emanuele authored and Greg Kroah-Hartman committed Dec 16, 2010
1 parent 88087ef commit d90c959
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6ef9fc657bd69c708ada2ee9fd3b2e13f7600a3d
refs/heads/master: 2c8245c4990e75d86ab30bb0af9bb90cbe04985d
4 changes: 3 additions & 1 deletion trunk/drivers/usb/gadget/atmel_usba_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2057,8 +2057,10 @@ static int __exit usba_udc_remove(struct platform_device *pdev)
usba_ep_cleanup_debugfs(&usba_ep[i]);
usba_cleanup_debugfs(udc);

if (gpio_is_valid(udc->vbus_pin))
if (gpio_is_valid(udc->vbus_pin)) {
free_irq(gpio_to_irq(udc->vbus_pin), udc);
gpio_free(udc->vbus_pin);
}

free_irq(udc->irq, udc);
kfree(usba_ep);
Expand Down

0 comments on commit d90c959

Please sign in to comment.