projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
333db1d
)
usb: host: xhci-plat: release mem region while removing module
author
George Cherian
<george.cherian@ti.com>
Fri, 21 Jun 2013 08:29:08 +0000
(13:59 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 22 Jul 2013 01:21:24 +0000
(18:21 -0700)
commit
5388a3a5faba8dfa69e5f06c3a415d373c1a4316
upstream.
Do a release_mem_region of the hcd resource. Without this the
subsequent insertion of module fails in request_mem_region.
Signed-off-by: George Cherian <george.cherian@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-plat.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/xhci-plat.c
b/drivers/usb/host/xhci-plat.c
index df90fe51b4aa2d406b8b2f8bfa591c410df89a35..93ad67eca0535fb80f8761fdef9e01e270949d4f 100644
(file)
--- a/
drivers/usb/host/xhci-plat.c
+++ b/
drivers/usb/host/xhci-plat.c
@@
-179,6
+179,7
@@
static int xhci_plat_remove(struct platform_device *dev)
usb_remove_hcd(hcd);
iounmap(hcd->regs);
+ release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
usb_put_hcd(hcd);
kfree(xhci);