diff options
| author | Ilpo Järvinen <[email protected]> | 2022-08-30 11:49:21 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-08-30 14:28:33 +0200 |
| commit | d4ab5c2e9ceee32aac6cf520276f9e373b508ce6 (patch) | |
| tree | bc23370a71f55ed3526adf450954559f35167c1d /tools/perf/scripts/python/flamegraph.py | |
| parent | 0c7833b9e86d61cdfe44c2af17dcf8a08ba0ee61 (diff) | |
serial: ucc_uart: Remove custom frame size calculation
The number of bits can be calculated using tty_get_frame_size(), no
need for the driver to do it on its own.
Also remove a comment on number of bits that doesn't match the code nor
the comment on ucc_uart_pram's rx_length ("minus 1" part differs). That
comment seems a verbatim copy of that in cpm_uart/cpm_uart_core.c
anyway so perhaps it was just copied over w/o much thinking.
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Ilpo Järvinen <[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