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

Tomoya MORINAGA
2011-10-27T06:45:57Z

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@dsn.lapis-semi.com>
---
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