diff options
| author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2022-06-08 12:54:27 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-10 14:45:08 +0300 |
| commit | bdb70c424df1543bc02ee2639aecebd20318c599 (patch) | |
| tree | f5addd327dfbff3ba1db92eea49f67c50ea0fb2e /tools/perf/scripts/python/libxed.py | |
| parent | ce338e4477cfdff0abeb27eff2d43fc379ee9ebb (diff) | |
| download | linux-bdb70c424df1543bc02ee2639aecebd20318c599.tar.xz | |
serial: 8250: Create serial_lsr_in()
LSR register readers need to be careful in order to not lose bits that
are not preserved across reads. Create a helper that takes care of
storing the non-preserved bits into lsr_save_flags.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220608095431.18376-3-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
