Re: [PATCH 1/2] ARM: OMAP: USB: Fixup ehci_hcd_omap_probe error path

2012-06-21 Thread Alan Stern
On Thu, 21 Jun 2012, Russ Dill wrote: > 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 h

Re: [PATCH 1/2] ARM: OMAP: USB: Fixup ehci_hcd_omap_probe error path

2012-06-21 Thread Sergei Shtylyov
Hello. On 21-06-2012 14:44, Russ Dill wrote: A recent commit, [PATCH] Fix OMAP EHCI suspend/resume failure (i693) '354ab856' Usually commit ID follows the word "commit", and then the commit summary. causes ehci probe to fail on omap3xxx. This exposed bugs in the ehci_hcd_omap_probe error

[PATCH 1/2] ARM: OMAP: USB: Fixup ehci_hcd_omap_probe error path

2012-06-21 Thread Russ Dill
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_h