diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2022-06-24 23:42:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-27 14:44:20 +0200 |
commit | 507bd6fbaaefcb8dd89bd00baddf00b439d30c51 (patch) | |
tree | 1c40ec9c31a04d0a9c060679182dfa0ded2f27dd /include/linux/serial_8250.h | |
parent | f8ba5680a56be696b3f4343ed0a591abab807da4 (diff) | |
download | linux-stable-507bd6fbaaefcb8dd89bd00baddf00b439d30c51.tar.gz linux-stable-507bd6fbaaefcb8dd89bd00baddf00b439d30c51.tar.bz2 linux-stable-507bd6fbaaefcb8dd89bd00baddf00b439d30c51.zip |
serial: 8250: create lsr_save_mask
Allow drivers to alter LSR save mask.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220624204210.11112-3-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serial_8250.h')
-rw-r--r-- | include/linux/serial_8250.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/serial_8250.h b/include/linux/serial_8250.h index 4565f25ba9a2..8c7b793aa4d7 100644 --- a/include/linux/serial_8250.h +++ b/include/linux/serial_8250.h @@ -120,6 +120,7 @@ struct uart_8250_port { */ #define LSR_SAVE_FLAGS UART_LSR_BRK_ERROR_BITS u16 lsr_saved_flags; + u16 lsr_save_mask; #define MSR_SAVE_FLAGS UART_MSR_ANY_DELTA unsigned char msr_saved_flags; |