Thread (13 messages) 13 messages, 3 authors, 2015-03-12
STALE4141d

[PATCH REPOST 2/2] serial/amba-pl011: Leave the TX IRQ alone when the UART is not open

From: Russell King - ARM Linux <hidden>
Date: 2015-03-12 11:04:41
Also in: linux-serial

On Wed, Mar 04, 2015 at 12:27:34PM +0000, Dave Martin wrote:
Getting the TX IRQ re-asserted from scratch can be inefficient in
some setups.

This patch avoids clearing the TX IRQ across pl011_shutdown()...
pl011_startup(), so that if the port is closed and reopened, the
IRQ will still work afterwards without having to bootstrap it again.
So if a port is being used as the console, we end up spraying the system
with transmit interrupts?  This can't be right.

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help