diff options
author | delisun <delisun@pateo.com.cn> | 2022-11-10 05:01:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-22 19:52:10 +0300 |
commit | 032d5a71ed378ffc6a2d41a187d8488a4f9fe415 (patch) | |
tree | 20b8371b03670ee86ac3a079e262604da75cc998 /drivers/tty/sysrq.c | |
parent | 94cdb9f33698478b0e7062586633c42c6158a786 (diff) | |
download | linux-032d5a71ed378ffc6a2d41a187d8488a4f9fe415.tar.xz |
serial: pl011: Do not clear RX FIFO & RX interrupt in unthrottle.
Clearing the RX FIFO will cause data loss.
Copy the pl011_enabl_interrupts implementation, and remove the clear
interrupt and FIFO part of the code.
Fixes: 211565b10099 ("serial: pl011: UPSTAT_AUTORTS requires .throttle/unthrottle")
Signed-off-by: delisun <delisun@pateo.com.cn>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20221110020108.7700-1-delisun@pateo.com.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/sysrq.c')
0 files changed, 0 insertions, 0 deletions