aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHarald Seiler <[email protected]>2022-01-19 15:52:03 +0100
committerGreg Kroah-Hartman <[email protected]>2022-02-11 12:06:04 +0100
commit582e9a24fc139adabb1dc951620870806bfc1583 (patch)
tree6f955aba131a68c4b19cb72de68de0d590ccfed6 /tools/perf/scripts/python
parentfcc446c8aa6303b247b0d88f460167b731265282 (diff)
tty: serial: imx: Add fast path when rs485 delays are 0
Right now, even when `delay_rts_before_send` and `delay_rts_after_send` are 0, the hrtimer is triggered (with timeout 0) which can introduce a few 100us of additional overhead on slower i.MX platforms. Implement a fast path when the delays are 0, where the RTS signal is toggled immediately instead of going through an hrtimer. This fast path behaves identical to the code before delay support was implemented. Reviewed-by: Uwe Kleine-König <[email protected]> Signed-off-by: Harald Seiler <[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')
0 files changed, 0 insertions, 0 deletions