gadget: fixes and create a copy of descriptors.

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

 



last patch introduces a copy of each descriptor for each function. Most
gadgets were doing this but not all of them.
The remaining patches are fixes which I noticed while inspecting each
function. One thing that is still not done properly:
We have no function to return/free endpoints and interface numbers. For
endpoints, some gadgets do "ep->driver_data = NULL" to free them. This does
only work for UDCs which have the endpoint number in their name. The endpoints
which use a auto created number need the counter reset. Currently this is not
an issue because composite resets these counter. I think it will be required
to add and remove function with configfs.

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