]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: Update config for SuperSpeedPlus
authorJohn Youn <John.Youn@synopsys.com>
Sat, 6 Feb 2016 01:06:35 +0000 (17:06 -0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 4 Mar 2016 13:14:24 +0000 (15:14 +0200)
commit04f711ade126f23d97aa31ec42637b5f7cc002dc
treefdd573b9709c377eb2952b8dd3bdefe19a74be79
parentab755d0009ba044da8f5d8e36f99f33907a0f94e
usb: gadget: Update config for SuperSpeedPlus

When a function is added to a configuration with usb_add_function(), the
configuration speed flags are updated. These flags indicate for which
speeds the configuration is valid for.

This patch adds a flag in the configuration for SuperSpeedPlus and
also updates this based on the existence of ssp_descriptors.

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