diff options
| author | Ilpo Järvinen <[email protected]> | 2022-06-08 12:54:27 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-06-10 13:45:08 +0200 |
| commit | bdb70c424df1543bc02ee2639aecebd20318c599 (patch) | |
| tree | f5addd327dfbff3ba1db92eea49f67c50ea0fb2e /include | |
| parent | ce338e4477cfdff0abeb27eff2d43fc379ee9ebb (diff) | |
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 <[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 'include')
0 files changed, 0 insertions, 0 deletions