aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorRuslan Bilovol <[email protected]>2021-03-01 13:49:34 +0200
committerGreg Kroah-Hartman <[email protected]>2021-03-23 12:54:56 +0100
commita59c68a6a3d1b18e2494f526eb19893a34fa6ec6 (patch)
treeaa775b14ec88e80e19b9093cb7bb13bce7950a10 /tools/perf/scripts/python/flamegraph.py
parent3713d5ceb04d5ab6a5e2b86dfca49170053f3a5e (diff)
usb: gadget: f_uac1: validate input parameters
Currently user can configure UAC1 function with parameters that violate UAC1 spec or are not supported by UAC1 gadget implementation. This can lead to incorrect behavior if such gadget is connected to the host - like enumeration failure or other issues depending on host's UAC1 driver implementation, bringing user to a long hours of debugging the issue. Instead of silently accept these parameters, throw an error if they are not valid. Signed-off-by: Ruslan Bilovol <[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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions