diff options
author | Sascha Hauer <sascha@saschahauer.de> | 2008-04-17 03:44:47 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-04-17 11:18:22 -0400 |
commit | 789d52589a0849004ced991549a61dd110dfeb10 (patch) | |
tree | 016d934319462e2301f7a8c8896f4b787dbaf3ad /drivers/serial/imx.c | |
parent | 0d3c3938ff9855d8996db4083efd62e86b8987eb (diff) |
[ARM] 4996/1: <IMX UART>: do not enable tx empty interrupt on startup
We are not interested in tranceiver empty interrupts until we actually
sent a buffer.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/serial/imx.c')
-rw-r--r-- | drivers/serial/imx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/imx.c b/drivers/serial/imx.c index f7596641f121..dd1e071834be 100644 --- a/drivers/serial/imx.c +++ b/drivers/serial/imx.c | |||
@@ -536,7 +536,7 @@ static int imx_startup(struct uart_port *port) | |||
536 | writel(USR1_RTSD, sport->port.membase + USR1); | 536 | writel(USR1_RTSD, sport->port.membase + USR1); |
537 | 537 | ||
538 | temp = readl(sport->port.membase + UCR1); | 538 | temp = readl(sport->port.membase + UCR1); |
539 | temp |= (UCR1_TXMPTYEN | UCR1_RRDYEN | UCR1_RTSDEN | UCR1_UARTEN); | 539 | temp |= UCR1_RRDYEN | UCR1_RTSDEN | UCR1_UARTEN; |
540 | writel(temp, sport->port.membase + UCR1); | 540 | writel(temp, sport->port.membase + UCR1); |
541 | 541 | ||
542 | temp = readl(sport->port.membase + UCR2); | 542 | temp = readl(sport->port.membase + UCR2); |