Ulrich Hecht 49e2bcb7cf serial: sh-sci: fix break handling for sysrq
[ Upstream commit 87b8061bad9bd4b549b2daf36ffbaa57be2789a2 ]

This fixes two issues that cause the sysrq sequence to be inadvertently
aborted on SCIF serial consoles:

- a NUL character remains in the RX queue after a break has been detected,
  which is then passed on to uart_handle_sysrq_char()
- the break interrupt is handled twice on controllers with multiplexed ERI
  and BRI interrupts

Signed-off-by: Ulrich Hecht <uli+renesas@fpond.eu>
Link: https://lore.kernel.org/r/20210816162201.28801-1-uli+renesas@fpond.eu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-18 13:40:29 +02:00
..
2020-10-28 13:39:14 +01:00
2020-08-31 07:19:25 +02:00
2020-01-29 10:13:27 -08:00
2020-08-18 13:51:18 +02:00
2020-07-20 09:39:11 +02:00
2020-05-15 12:22:19 +02:00
2020-10-05 13:32:30 +02:00
2020-08-18 13:51:18 +02:00
2020-01-29 10:13:27 -08:00
2020-09-27 14:17:43 +02:00
2019-12-18 15:04:57 +01:00
2020-04-16 16:13:34 +02:00
2021-01-27 11:54:59 +01:00
2020-01-29 10:13:27 -08:00