projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fc4e77
)
usb: host: ehci: fix missing kfree in remove path also
author
Ajay Kumar Gupta
<ajay.gupta@ti.com>
Mon, 28 Dec 2009 11:40:45 +0000
(13:40 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 2 Mar 2010 22:53:49 +0000
(14:53 -0800)
Added missing kfree() in ehci_hcd_omap_remove().
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-omap.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/host/ehci-omap.c
b/drivers/usb/host/ehci-omap.c
index 74d07f4e8b7d48d74f9ea119d350ab6aed8a2dd1..2460f0d82990a996e8994336b64410b12d5f2ffb 100644
(file)
--- a/
drivers/usb/host/ehci-omap.c
+++ b/
drivers/usb/host/ehci-omap.c
@@
-681,6
+681,7
@@
static int ehci_hcd_omap_remove(struct platform_device *pdev)
iounmap(omap->tll_base);
iounmap(omap->uhh_base);
usb_put_hcd(hcd);
+ kfree(omap);
return 0;
}