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? thanks, greg k-h