summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLi Jun <[email protected]>2021-01-25 21:43:57 +0800
committerMarek Vasut <[email protected]>2021-01-31 14:08:56 +0100
commit4df50f89f5769732c6cce67f956371140680ff5d (patch)
treec645ea93c2e28160342afe95e5bf90079f63a267 /include
parent429e2f299f3a978cf248c3597f60308c5d636ad8 (diff)
usb: composite: force gadget to be USB2 for HS only function
If one of functions is not super speed capable, we need force the udc to be high speed, this is an equivalent implementation of usb_gadget_udc_set_speed() in kernel but simple, which set the gadget max_speed to be high speed, so afterwards when start gadget duc can set the HW to be USB 2.0 mode. Reviewed-by: Ye Li <[email protected]> Reviewed-by: Peter Chen <[email protected]> Tested-by: faqiang.zhu <[email protected]> Signed-off-by: Li Jun <[email protected]> Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions