Skip to content

Commit

Permalink
[ARM] 4996/1: <IMX UART>: do not enable tx empty interrupt on startup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sascha Hauer authored and Russell King committed Apr 17, 2008
1 parent 0d3c393 commit 789d525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/serial/imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ static int imx_startup(struct uart_port *port)
writel(USR1_RTSD, sport->port.membase + USR1);

temp = readl(sport->port.membase + UCR1);
temp |= (UCR1_TXMPTYEN | UCR1_RRDYEN | UCR1_RTSDEN | UCR1_UARTEN);
temp |= UCR1_RRDYEN | UCR1_RTSDEN | UCR1_UARTEN;
writel(temp, sport->port.membase + UCR1);

temp = readl(sport->port.membase + UCR2);
Expand Down

0 comments on commit 789d525

Please sign in to comment.