aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorIlpo Järvinen <[email protected]>2022-06-08 12:54:27 +0300
committerGreg Kroah-Hartman <[email protected]>2022-06-10 13:45:08 +0200
commitbdb70c424df1543bc02ee2639aecebd20318c599 (patch)
treef5addd327dfbff3ba1db92eea49f67c50ea0fb2e /include/linux
parentce338e4477cfdff0abeb27eff2d43fc379ee9ebb (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/linux')
0 files changed, 0 insertions, 0 deletions