>>>>> "Greg" == Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> writes: > On Thu, Jan 18, 2024 at 01:51:37PM +0100, Peter Korsgaard wrote: >> When a USB gadget is configured through configfs with 1 or more f_fs >> functions, then the logic setting up the gadget configuration has to wait >> until the user space code (typically separate applications) responsible for >> those functions have written their descriptors before the gadget can be >> activated. >> >> The f_fs instance already knows if this has been done, so expose it through >> a "ready" attribute in configfs for easier synchronization. >> >> Signed-off-by: Peter Korsgaard <peter@xxxxxxxxxxxxx> >> --- >> Changes since v1: >> - Add documentation snippet as requested by Greg. >> >> Documentation/usb/gadget-testing.rst | 8 ++++++++ > Shouldn't this be documented in Documentation/ABI/ instead? Ahh, we have documentation in too many places. I'll add it to Documentation/ABI/testing/configfs-gadget-ffs as well and send a v3. Thanks. -- Bye, Peter Korsgaard