Re: [PATCH 2/2] usb: gadget: convert all users to the new udc infrastructure

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

 



[CC: list trimmed]

On Wed, 8 Jun 2011, Sebastian Andrzej Siewior wrote:

> peripheral drivers are using usb_add_gadget()/usb_del_gadget() to
> register/unregister to the udc-core.
> 
> The udc-core will take the first available gadget driver and attach
> function driver which is calling usb_gadget_register_driver(). This is
> the same behaviour we have right now.
> 
> Only dummy_hcd was tested, the other were compiled tested.

How do you deal with the fact that after this change,

	modprobe gadget_driver

will fail if the UDC driver isn't already loaded?  This could break 
some userspace scripts.

Alan Stern

--
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