[PATCH 2/2] pch_uart: Delete modem status interrupt enable code

From: Tomoya MORINAGA
Date: Thu Oct 27 2011 - 02:45:57 EST


Currently, modem status interrupt software processing is not implemented.
So, if enabling modem status interrupt, the interrupt processing is not
processed correctly.
(pch_uart device has auto hardware flow control function. So, pch_uart driver
doesn't have to control modem status interrupt.)
This patch deletes the code.

Signed-off-by: Tomoya MORINAGA <tomoya-linux@xxxxxxxxxxxxxxxxxx>
---
drivers/tty/serial/pch_uart.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c
index b1aabe8..1a076cd 100644
--- a/drivers/tty/serial/pch_uart.c
+++ b/drivers/tty/serial/pch_uart.c
@@ -1121,7 +1121,8 @@ static void pch_uart_enable_ms(struct uart_port *port)
{
struct eg20t_port *priv;
priv = container_of(port, struct eg20t_port, port);
- pch_uart_hal_enable_interrupt(priv, PCH_UART_HAL_MS_INT);
+ dev_info(priv->port.dev,
+ "PCH UART : Modem status interrupt is not supported.\n");
}

/* Control the transmission of a break signal. */
--
1.7.4.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/