usb: ehci-omap: Show fatal probing time errors to end user
authorJarkko Nikula <jhnikula@gmail.com>
Fri, 7 Jan 2011 09:19:52 +0000 (11:19 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 1 Feb 2011 09:06:09 +0000 (11:06 +0200)
commit3e434a86cb21fba95d86b8d756997c235eade037
tree44d7e6e3c20835433c964ce5baafa3a64ef31628
parent5f5761cb8e77f2f2321b7847eef9629e6896cd47
usb: ehci-omap: Show fatal probing time errors to end user

There are a few error paths in ehci_hcd_omap_probe that can be triggered
because of memory allocation or hw failure. Change those dev_dbg error
prints to dev_err with an error code printed so that the end users are able
to notice the issue.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/host/ehci-omap.c