diff options
author | John Youn <johnyoun@synopsys.com> | 2017-04-28 12:55:20 +0400 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-06-02 11:22:32 +0300 |
commit | a9548c55295a4268f9187e1ec93264a0682fa745 (patch) | |
tree | 5ea14d14aa8845ffb1507bd2731a4cd62aa55c3d /kernel/irq | |
parent | 0b67a6be14be5fb050b0358022c497d0619ebc40 (diff) | |
download | linux-a9548c55295a4268f9187e1ec93264a0682fa745.tar.gz linux-a9548c55295a4268f9187e1ec93264a0682fa745.tar.bz2 linux-a9548c55295a4268f9187e1ec93264a0682fa745.zip |
usb: gadget: Allow a non-SuperSpeed gadget to support LPM
This commit allows a gadget that does not support SuperSpeed to indicate
that it supports LPM. It does this by setting the 'lpm_capable' flag in
the gadget structure.
If a gadget sets this, the composite gadget framework will set the
bcdUSB to 0x0201 to indicate that this supports BOS descriptors, and
also return a USB 2.0 Extension descriptor as part of the BOS descriptor
set.
See USB 2.0 LPM ECN Section 3.
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Sevak Arakelyan <sevaka@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions