]> rtime.felk.cvut.cz Git - vajnamar/linux-xlnx.git/commit
usb: gadget: f_tcm: comp_descriptor workaround during SS gadget
authorRajnikant Bhojani <rajnikant.bhojani@xilinx.com>
Fri, 11 Aug 2017 08:54:13 +0000 (04:54 -0400)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 15 Aug 2017 10:56:58 +0000 (12:56 +0200)
commitf0a8a87966518da0fdaffd9a9da3f936346848c0
treee165659c7bbff2cb272aa8ec83c459801a4ff1f7
parent0e2824f8fce2b1f1afaea136118ad104dd5e032c
usb: gadget: f_tcm: comp_descriptor workaround during SS gadget

If device connect in SS then comp_descriptor with stream
should be atteched to descriptor. Since BOT and UAS using
same endpoint, config_ep_by_speed will returns first match
with comp_descriptor without stream. This is just workaround
proper fix need to be introduced.

Signed-off-by: Rajnikant Bhojani <rajnikant.bhojani@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/usb/gadget/function/f_tcm.c