diff options
author | Johan Hovold <[email protected]> | 2018-07-18 14:25:00 +0200 |
---|---|---|
committer | Johan Hovold <[email protected]> | 2018-07-18 21:54:49 +0200 |
commit | 7aecd7fc5d95f1447611ab5e14db5ab9549f979c (patch) | |
tree | 926ec67929eab29ab11b45568a21d93a7a1f52b9 /tools/perf/util/trace-event-scripting.c | |
parent | 6f0bcf720ea81e90e6066d14d5506565049a2eb5 (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 <[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