Here is the patch set I proposed in

Vendor specific control requests are a significant category of
USB communications. With the current framework, it is difficult
for a composite gadget to handle these requests since any
function could be active. This patchset/feature allows all 
unhandled control requests to be passed to a singular
functionfs instance regardless of active configuration.

Patch 1 fixes an f_fs bug, patch 2 implements this feature,
and patch 3 adds user facing documentation and examples.

Tested on 4.9.

Jerry Zhang (3):
  usb: gadget: f_fs: Only return delayed status when len is 0
  usb: gadget: configfs: Create control_config group
  Documentation: usb: Add docs for configfs control requests

 Documentation/usb/gadget_configfs.txt | 32 ++++++++++
 drivers/usb/gadget/configfs.c         | 86 +++++++++++++++++++++------
 drivers/usb/gadget/function/f_fs.c    |  2 +-
 3 files changed, 101 insertions(+), 19 deletions(-)


To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to
More majordomo info at

Reply via email to