aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2013-12-29 19:23:15 +0100
committerGreg Kroah-Hartman <[email protected]>2014-01-03 12:31:48 -0800
commit5d85045f4b082800beb384094fc67fa0d2096563 (patch)
treebe5bc0158329ff7035506a1c4c2c3d1a4b1457e3 /tools/perf/scripts/python/event_analyzing_sample.py
parent20b4c787199f4fcf0fae5ed78a4ff0104e2afaa3 (diff)
USB: pl2303: use direct baud-rate encoding when possible
Use direct baud-rate encoding rather than divisors for supported baud rates. This restores the way baud rates were set prior to commit 8d48fdf689fe ("USB: PL2303: correctly handle baudrates above 115200") which added divisor encoding, but also switched to the new encoding method for all baudrates above 115200. As noted by Frank Schäfer <[email protected]>, baud rate 500k was later errounously added to the supported baud-rate table although it can only be set using divisors. Note that the current implementation could easily be extended to support arbitrary non-standard baud rates using divisors (e.g. by falling back to divisors when the table lookup fails). Cc: Frank Schäfer <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions