]> 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>
Mon, 1 Aug 2011 19:06:48 +0000 (22:06 +0300)
commit9a0fcb3a5dee74eacc8627224e099ef9bd9e199b
tree508eb35a01ea0e3ceeb85af92981d46fa6fd952a
parent4a85d644a6742ac68f091a9e82e1bab87125222b
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