aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2018-07-18 14:24:57 +0200
committerJohan Hovold <johan@kernel.org>2018-07-18 21:53:31 +0200
commit95fd4f47c857cf887ec0f6718ffb6a6ec3b62bd6 (patch)
treea49ce24e3b843100421907531aa40d67a42465c6 /tools/perf/scripts/python/export-to-postgresql.py
parentUSB: serial: iuu_phoenix: drop redundant input-speed re-encoding (diff)
downloadlinux-rng-95fd4f47c857cf887ec0f6718ffb6a6ec3b62bd6.tar.xz
linux-rng-95fd4f47c857cf887ec0f6718ffb6a6ec3b62bd6.zip
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 <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions