Skip to content

Commit 0fdf178

Browse files
sregregkh
authored andcommitted
serial: imx: drop CTS/RTS handling from shutdown
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]>
1 parent e66003f commit 0fdf178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/serial/imx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ static void imx_uart_shutdown(struct uart_port *port)
14501450

14511451
spin_lock_irqsave(&sport->port.lock, flags);
14521452
ucr2 = imx_uart_readl(sport, UCR2);
1453-
ucr2 &= ~(UCR2_TXEN | UCR2_CTSC | UCR2_CTS | UCR2_ATEN);
1453+
ucr2 &= ~(UCR2_TXEN | UCR2_ATEN);
14541454
imx_uart_writel(sport, ucr2, UCR2);
14551455
spin_unlock_irqrestore(&sport->port.lock, flags);
14561456

0 commit comments

Comments
 (0)