Re: [PATCH 2/2] usb/dummy_hcd: don't probe for udc if hcd failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Alan Stern | 2011-04-14 14:04:55 [-0400]:

>> | usbcore: registered new device driver usb
>> | dummy_hcd dummy_hcd: USB Host+Gadget Emulator, driver 02 May 2005
>> | dummy_hcd dummy_hcd: Dummy host controller
>> | dummy_hcd dummy_hcd: new USB bus registered, assigned bus number 1
>
>What was the cause of the failure here?
Is this is a rhetorical question? In case it is not, there was no valid
USBx flag and we leave. The earlier patch ("usb/hcd: don't return 0 on
error in usb_add_hcd()") added the missing return code.

>> | dummy_hcd dummy_hcd: USB bus 1 deregistered
>> | dummy_hcd: probe of dummy_hcd failed with error -22
>
>This shows up only in the kernel log.  It would be better to have the 
>entire initialization of the dummy-hcd module fail.

That patch is out as v2 of this.

>Alan Stern

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux