diff options
author | Johan Hovold <johan@kernel.org> | 2018-07-18 14:24:57 +0200 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2018-07-18 21:53:31 +0200 |
commit | 95fd4f47c857cf887ec0f6718ffb6a6ec3b62bd6 (patch) | |
tree | a49ce24e3b843100421907531aa40d67a42465c6 /tools/perf/scripts/python/stackcollapse.py | |
parent | 3528651e89aa044347ca06db6e9a106aa9aff914 (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 <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions