aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLinyu Yuan <[email protected]>2023-08-03 17:10:50 +0800
committerGreg Kroah-Hartman <[email protected]>2023-08-22 14:48:33 +0200
commit46decc82ffd54212cc2c600031daec6e835a6503 (patch)
treeaff1237131aca7c568a74ec17f479aa81dd77dc0 /tools/perf/util/trace-event-scripting.c
parent3c5b006f3ee800b4bd9ed37b3a8f271b8560126e (diff)
usb: gadget: unconditionally allocate hs/ss descriptor in bind operation
Take f_midi_bind() for example, when composite layer call it, it will allocate hs descriptor by calling gadget_is_dualspeed() API to check gadget max support speed capability, but most other gadget function didn't do like this. To follow other function drivers, it is safe to remove the check which mean support all possible link speed by default in function driver. Similar change apply to midi2 and uvc. Also in midi and midi2, as there is no descriptor difference between super speed and super speed plus, follow other gadget function drivers, do not allocate descriptor for super speed plus, composite layer will handle it properly. Signed-off-by: Linyu Yuan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions