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

Commit a14f66a4 authored by Alexandre TORGUE's avatar Alexandre TORGUE Committed by Greg Kroah-Hartman
Browse files

serial: stm32: disable tx and rx during shutdown

parent bc5a0b55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -276,7 +276,7 @@ static void stm32_shutdown(struct uart_port *port)
	u32 val;

	val = USART_CR1_TXEIE | USART_CR1_RXNEIE | USART_CR1_TE | USART_CR1_RE;
	stm32_set_bits(port, ofs->cr1, val);
	stm32_clr_bits(port, ofs->cr1, val);

	free_irq(port->irq, port);
}