[PATCHv2 0/2] OS descriptors in FunctionFS

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

 



OS String descriptor can be provided by using FunctionFS with configfs.
In order for FunctionFS to support Feature Descriptors, corresponding
Extended Compatibility and Extended Properties descriptors must be
passed to ep0. This series adds parsing the said descriptors and
setting up appropriate internal data structures.

Rebased onto Felipe's testing/next.

This is meant for 3.17.

v1..v2:
- changed confused naming of two existing functions
- OS descriptors proper implementation with fixes suggested by Michal;
thanks, Michal!

Andrzej Pietrasiewicz (2):
  usb: gadget: f_fs: rename descriptor parsing functions
  usb: gadget: f_fs: OS descriptors support

 drivers/usb/gadget/function/f_fs.c  | 353 +++++++++++++++++++++++++++++++++++-
 drivers/usb/gadget/function/u_fs.h  |   7 +
 include/uapi/linux/usb/functionfs.h |  81 ++++++++-
 3 files changed, 431 insertions(+), 10 deletions(-)

-- 
1.8.3.2

--
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