aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2018-07-18 14:24:57 +0200
committerJohan Hovold <[email protected]>2018-07-18 21:53:31 +0200
commit95fd4f47c857cf887ec0f6718ffb6a6ec3b62bd6 (patch)
treea49ce24e3b843100421907531aa40d67a42465c6 /tools/perf/util/trace-event-scripting.c
parent3528651e89aa044347ca06db6e9a106aa9aff914 (diff)
USB: serial: cp210x: make line-speed quantisation data driven
Older cp210x devices only support a fixed set of line speeds to which a requested speed is mapped. Reimplement this mapping using a table instead of a long if-else construct. Reviewed-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions