usb: gadget: composite: Exclude SS Dev Cap Desc
authorJohn Youn <johnyoun@synopsys.com>
Fri, 28 Apr 2017 08:55:14 +0000 (12:55 +0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 2 Jun 2017 08:22:32 +0000 (11:22 +0300)
commit0b67a6be14be5fb050b0358022c497d0619ebc40
tree1f5bf2b332992335c600cb97970928f56263b510
parente16828cf945ca11b05df1cc755af8e4b669f6dd3
usb: gadget: composite: Exclude SS Dev Cap Desc

Don't send the SuperSpeed USB Device Capability descriptor if
the gadget is not capable of SuperSpeed.

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>
drivers/usb/gadget/composite.c