summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2014-05-08 14:06:25 +0200
committerFelipe Balbi <balbi@ti.com>2014-05-14 09:39:14 -0500
commit87213d388e927aaa88b21d5ff7e1f75ca2288da1 (patch)
treed68f947c50a65e662abdc6885b2f5ce801fd5013 /drivers/power
parentde7a8d2d534fb3c35c29762b8a7d14e5b1937d6f (diff)
downloadblackbird-op-linux-87213d388e927aaa88b21d5ff7e1f75ca2288da1.tar.gz
blackbird-op-linux-87213d388e927aaa88b21d5ff7e1f75ca2288da1.zip
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 <andrzej.p@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud