serial: 8250: Revert "drop lockdep annotation from serial8250_clear_IER()"

BugLink: https://bugs.launchpad.net/bugs/2060704

The 8250 driver no longer depends on @oops_in_progress and
will no longer violate the port->lock locking constraints.

This reverts commit 3d9e6f556e.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Kevin Becker <kevin.becker@canonical.com>
This commit is contained in:
John Ogness
2023-10-02 15:30:43 +00:00
committed by Kevin Becker
parent 78b53d1571
commit f209365b54
+3
View File
@@ -719,6 +719,9 @@ static void __serial8250_clear_IER(struct uart_8250_port *up)
static inline void serial8250_clear_IER(struct uart_8250_port *up)
{
/* Port locked to synchronize UART_IER access against the console. */
lockdep_assert_held_once(&up->port.lock);
__serial8250_clear_IER(up);
}