usb: gadget: composite: Return SSP Dev Cap descriptor
authorJohn Youn <John.Youn@synopsys.com>
Sat, 6 Feb 2016 01:05:53 +0000 (17:05 -0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 4 Mar 2016 13:14:23 +0000 (15:14 +0200)
commitf228a8de242a85659d9c86f2b9ff862775f015c2
tree571c11dbf5d6d02971c5ccddedae1be2ef979028
parent1a85329171094951956a37acc8abb7e51c1e742e
usb: gadget: composite: Return SSP Dev Cap descriptor

If a gadget supports SuperSpeedPlus or higher speeds, return a
SuperSpeedPlus USB Device Capability descriptor.

Currently this implementation returns a fixed descriptor with typical
values set.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/gadget/composite.c