aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2018-07-18 14:25:00 +0200
committerJohan Hovold <johan@kernel.org>2018-07-18 21:54:49 +0200
commit7aecd7fc5d95f1447611ab5e14db5ab9549f979c (patch)
tree926ec67929eab29ab11b45568a21d93a7a1f52b9 /tools/perf/scripts/python
parent6f0bcf720ea81e90e6066d14d5506565049a2eb5 (diff)
USB: serial: cp210x: generalise CP2102N line-speed handling
The CP2102N equations for determining the actual baud rate can be used also for other device types, so let's factor it out. Note that this removes the now unused cp210x_is_cp2102n() helper. Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions