mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
serial: stm32: disable tx and rx during shutdown
Signed-off-by: Gerald Baeza <[email protected]> Signed-off-by: Alexandre TORGUE <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
bc5a0b55ba
commit
a14f66a427
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue