From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/tty/serial/8250/8250_ingenic.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/kernel/drivers/tty/serial/8250/8250_ingenic.c b/kernel/drivers/tty/serial/8250/8250_ingenic.c
index bcd26d6..988bf6b 100644
--- a/kernel/drivers/tty/serial/8250/8250_ingenic.c
+++ b/kernel/drivers/tty/serial/8250/8250_ingenic.c
@@ -146,8 +146,6 @@
static void ingenic_uart_serial_out(struct uart_port *p, int offset, int value)
{
- unsigned int flags;
- bool is_console;
int ier;
switch (offset) {
@@ -169,12 +167,7 @@
* If we have enabled modem status IRQs we should enable
* modem mode.
*/
- is_console = uart_console(p);
- if (is_console)
- console_atomic_lock(&flags);
ier = p->serial_in(p, UART_IER);
- if (is_console)
- console_atomic_unlock(flags);
if (ier & UART_IER_MSI)
value |= UART_MCR_MDCE | UART_MCR_FCM;
--
Gitblit v1.6.2