From: Russ Dill Date: Thu, 21 Jun 2012 10:44:31 +0000 (-0700) Subject: ARM: OMAP: USB: Fixup ehci_hcd_omap_probe error path X-Git-Tag: v3.6-rc1~101^2~53^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=984e97483a143f95d861b7218161ae033df293ab;p=pandora-kernel.git ARM: OMAP: USB: Fixup ehci_hcd_omap_probe error path A recent commit, [PATCH] Fix OMAP EHCI suspend/resume failure (i693) '354ab856' causes ehci probe to fail on omap3xxx. This exposed bugs in the ehci_hcd_omap_probe error path causing an oops. On the error path, call usb_remove_hcd if usb_add_hcd has been called, and call usb_put_hcd if usb_alloc_hcd has been called. Tested on BB-xM. Signed-off-by: Russ.Dill@ti.com Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed