Skip to content

Commit

Permalink
serial: imx: drop CTS/RTS handling from shutdown
Browse files Browse the repository at this point in the history
According to Documentation/serial/driver the shutdown function should
not disable RTS, so drop it.

Suggested-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
sre authored and gregkh committed May 25, 2018
1 parent e66003f commit 0fdf178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ static void imx_uart_shutdown(struct uart_port *port)

spin_lock_irqsave(&sport->port.lock, flags);
ucr2 = imx_uart_readl(sport, UCR2);
ucr2 &= ~(UCR2_TXEN | UCR2_CTSC | UCR2_CTS | UCR2_ATEN);
ucr2 &= ~(UCR2_TXEN | UCR2_ATEN);
imx_uart_writel(sport, ucr2, UCR2);
spin_unlock_irqrestore(&sport->port.lock, flags);

Expand Down

0 comments on commit 0fdf178

Please sign in to comment.