From ef23db21e61be3df9ae893462c9e41e60be3b589 Mon Sep 17 00:00:00 2001 From: TuxSH <1922548+TuxSH@users.noreply.github.com> Date: Sat, 1 Feb 2020 01:15:42 +0000 Subject: [PATCH] thermosphere: pl011: fix uartSetInterruptStatus We don't need to forcefully clear the line level --- thermosphere/src/platform/qemu/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thermosphere/src/platform/qemu/uart.c b/thermosphere/src/platform/qemu/uart.c index 9f4df0a89..8ef03ca4f 100644 --- a/thermosphere/src/platform/qemu/uart.c +++ b/thermosphere/src/platform/qemu/uart.c @@ -184,7 +184,7 @@ void uartSetInterruptStatus(UartDevice dev, ReadWriteDirection direction, bool e if (enable) { uart->imsc |= mask; } else { - uart->icr = mask; + //uart->icr = mask; uart->imsc &= ~mask; } }