From: Andrzej Pietrasiewicz Date: Thu, 8 May 2014 12:06:25 +0000 (+0200) Subject: usb: gadget: configfs: OS String support X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~171^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87213d388e927aaa88b21d5ff7e1f75ca2288da1;p=pandora-kernel.git usb: gadget: configfs: OS String support Add handling of OS String extension from the configfs interface. A directory "os_desc" is added at the top level of a gadget's directories hierarchy. In the "os_desc" directory there are three attributes: "use", "b_vendor_code" and "qw_sign". If "use" contains "0" the OS string is not reported to the host. "b_vendor_code" contains a one-byte value which is used for custom per-device and per-interface requests. "qw_sign" contains an identifier to be reported as the "OS String" proper. Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed