summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorAjay Kumar Gupta <ajay.gupta@ti.com>2009-12-28 13:40:45 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 14:53:49 -0800
commitd3ae8562d43fe2b97d605dd67dc67bf8fa9b956a (patch)
tree60633a5e314245e26ed6d6b5ada521ba520bb617 /drivers/usb/host
parent5fc4e77911f457b6aa910c704eebe3a58d334116 (diff)
downloadop-kernel-dev-d3ae8562d43fe2b97d605dd67dc67bf8fa9b956a.zip
op-kernel-dev-d3ae8562d43fe2b97d605dd67dc67bf8fa9b956a.tar.gz
usb: host: ehci: fix missing kfree in remove path also
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>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/ehci-omap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c
index 74d07f4..2460f0d 100644
--- 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;
}
OpenPOWER on IntegriCloud