diff options
| author | Tomasz Moń <[email protected]> | 2022-03-01 07:03:31 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-03-01 22:16:59 +0100 |
| commit | 21144bab4f1191e01e1cf785720e6af99d86a347 (patch) | |
| tree | 9c5ef3fc7cf3c53e1ae1bd1afca06c3ad5ac9d5a /tools/testing/radix-tree/linux/xarray.h | |
| parent | cc4c1d05eb10c3ad4c6315f1897bc56b1e7429aa (diff) | |
sc16is7xx: Handle modem status lines
The uart_handle_cts_change() and uart_handle_dcd_change() must be called
with port lock being held. Acquire the lock after reading MSR register.
Do not acquire spin lock when reading MSR register because I2C/SPI port
functions cannot be called with spinlocks held.
Update rng and dsr counters. Wake up delta_msr_wait to allow tty notice
modem status change.
Co-developed-by: Lech Perczak <[email protected]>
Co-developed-by: Tomasz Moń <[email protected]>
Signed-off-by: Lech Perczak <[email protected]>
Signed-off-by: Tomasz Moń <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/linux/xarray.h')
0 files changed, 0 insertions, 0 deletions