diff options
| author | Jiri Slaby <[email protected]> | 2021-09-22 09:59:35 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-10-05 14:08:09 +0200 |
| commit | bf1434c1b72451c4e02cdbf6984fdafcec194762 (patch) | |
| tree | 53868819da8d63090ab29f495a748bb6eb913063 /tools/perf/scripts/python/flamegraph.py | |
| parent | 19236287d8d5752b3d072bb8bd18b533ef085d15 (diff) | |
mxser: simplify FCR computation in mxser_change_speed()
Provided FIFO is always enabled for MUST chips, move its FCR setting out
of PORT_8250/PORT_16450 special case in mxser_change_speed(). Now, we
can pre-set fcr to zero and invert the condition of the 'if'.
This makes the code more readable (no functional change intended).
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions