Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Sascha Hauer and committed by
Russell King
789d5258 0d3c3938

+1 -1
+1 -1
drivers/serial/imx.c
··· 536 536 writel(USR1_RTSD, sport->port.membase + USR1); 537 537 538 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 540 writel(temp, sport->port.membase + UCR1); 541 541 542 542 temp = readl(sport->port.membase + UCR2);