]> git.baikalelectronics.ru Git - kernel.git/commit
usb: host: ehci-omap: fix .remove and failure handling path of .probe(v1)
authorMing Lei <tom.leiming@gmail.com>
Thu, 28 Jul 2011 14:59:53 +0000 (22:59 +0800)
committerFelipe Balbi <balbi@ti.com>
Fri, 12 Aug 2011 08:52:39 +0000 (11:52 +0300)
commit679e50d1a064b184b8af4b137151541d859d8512
tree5e6874306881a82ed85f76093f0fd829f5a1e6e2
parent79f64d2f237e5feed73dfd9887d1f9b55cd4fc4c
usb: host: ehci-omap: fix .remove and failure handling path of .probe(v1)

Obviously, disabling & put regulator and iounmap(hcd->regs)
are missed in .remove and failure handling path of .probe,
so add them.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Keshava Munegowda <Keshava_mgowda@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/host/ehci-omap.c