usb/hcd: don't return 0 on error in usb_add_hcd()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 14 Apr 2011 09:22:32 +0000 (11:22 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 30 Apr 2011 00:24:35 +0000 (17:24 -0700)
commit1d15ee4cd7c9ddacfb4b517131b257d8c0d74d42
tree913e470a78cdbeb2ba7b61f3fdd76d4251fc3307
parentb002ff6e268b6024d6927a1ce330a14ca162b6ab
usb/hcd: don't return 0 on error in usb_add_hcd()

If USB type detections fails, we run into default and return 0.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hcd.c