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]

 



Alan Stern wrote:
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.

The driver should be loaded by udev. There could be some breakage if
people are not using udev and rely on the fact that the gadget_driver will
pull in the only available gadget driver.

In case we want to keep this behavior then it could be fixed. As of now
there can be only on udc selected at a time. We could use this information
and call try_then_request_module().
If we do this, how long do we want to keep this compatibility? I guess we
can defer the question to this once someone wants a multi-gadget kernel :)

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