usb: host: xhci-plat: release mem region while removing module
authorGeorge Cherian <george.cherian@ti.com>
Fri, 21 Jun 2013 08:29:08 +0000 (13:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jul 2013 01:21:24 +0000 (18:21 -0700)
commita5ea8ca0b2d24ab8beae6b218abeb771d40ae966
tree08d4c6cf09fcd2df9e511d5f74f7f30c148111e3
parent333db1d07c454f02e008780273df44c1e3102448
usb: host: xhci-plat: release mem region while removing module

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