diff options
| author | Qihang Hu <[email protected]> | 2021-11-10 18:11:29 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-11-17 14:41:02 +0100 |
| commit | 16d42759207fc3d1bff7cfd330a08a225e470ba0 (patch) | |
| tree | 7cc20edd8ff18fb7e13c72e7957dc1620ea38a15 /tools/perf/scripts/python | |
| parent | d429976170a5699ef2cc03e3e3abfc06098754cc (diff) | |
usb: gadget: composite: Show warning if function driver's descriptors are incomplete.
In the config_ep_by_speed_and_alt function, select the corresponding
descriptor through g->speed. But some legacy or not well designed
function drivers may not support the corresponding speed. So, we can
directly display warnings instead of causing kernel panic. At the
same time, it indicates the reasons in warning message.
Reviewed-by: Peter Chen <[email protected]>
Signed-off-by: Qihang Hu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions