diff options
author | Jiri Slaby <jslaby@suse.cz> | 2022-05-03 10:08:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-05 22:42:46 +0200 |
commit | fcfb1c3982b9c80d62c94aba2107acd4cb00cc5f (patch) | |
tree | ff271848b111e1601ee53b7b45e9acc7e42988e1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d9f3af4fbb1d955bbaf872d9e76502f6e3e803cb (diff) |
serial: pch: decomission pch_uart_hal_write()
It's horrid and if we inline it into callers, we can get rid of a lot of
sugar around.
So:
* x_char handling becomes a single iowrite8.
* xmit->buf handling is a single loop simply writing characters one by
one directly from the buf instead of complex cnt_to_end computations.
Until the buf is empty or fifo size is reached.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220503080808.28332-2-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions