aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2008-07-28 15:26:01 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2008-09-02 04:19:30 -0400
commit9fbe604456c5ae21768f1c98379e1b81c72adcd3 (patch)
treeddcd06a1d1522ab73aec5554116793d6e10cda38 /drivers
parent4411805b13d4b8c31870b276c2730d585b062db7 (diff)
imx serial: fix rts handling for non imx1 based hardware
The interrupt handler for muxed interrupts (imx2/imx3) was calling the rts handling subroutine if the RTSS bit was set. (Which indicates the status of the RTS line), leading to an interrupt flood on RTS bit low. This patch fixes the problem by looking at the RTSD bit instead, indicating a change in the RTS line. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/imx.c b/drivers/serial/imx.c
index 312653e2f715..3f90f1bbbbcd 100644
--- a/drivers/serial/imx.c
+++ b/drivers/serial/imx.c
@@ -450,7 +450,7 @@ static irqreturn_t imx_int(int irq, void *dev_id)
450 readl(sport->port.membase + UCR1) & UCR1_TXMPTYEN) 450 readl(sport->port.membase + UCR1) & UCR1_TXMPTYEN)
451 imx_txint(irq, dev_id); 451 imx_txint(irq, dev_id);
452 452
453 if (sts & USR1_RTSS) 453 if (sts & USR1_RTSD)
454 imx_rtsint(irq, dev_id); 454 imx_rtsint(irq, dev_id);
455 455
456 return IRQ_HANDLED; 456 return IRQ_HANDLED;