Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34b6a3a9 authored by Helmut Grohne's avatar Helmut Grohne Committed by Greg Kroah-Hartman
Browse files

serial: xuartps: remove unnecessary register write

This writel writes the exact same value as the previous writel and is
thus unnecessary. It accidentally became unnecessary in e3538c37
("tty: xuartps: Beautify read-modify writes"), but the new behaviour is
now expected.

Link: https://www.spinics.net/lists/linux-serial/msg23168.html


Signed-off-by: default avatarHelmut Grohne <h.grohne@intenta.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent de4ed391
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1203,8 +1203,6 @@ static void cdns_uart_console_write(struct console *co, const char *s,
			CDNS_UART_SR_TXEMPTY)
		cpu_relax();

	writel(ctrl, port->membase + CDNS_UART_CR);

	/* restore interrupt state */
	writel(imr, port->membase + CDNS_UART_IER);