]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ARM: PL011: Ensure IRQs are disabled in UART interrupt handler
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 22 Dec 2010 17:16:09 +0000 (17:16 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 5 Jan 2011 16:58:47 +0000 (16:58 +0000)
commit963cc981af620c7c07b5f6d1ab998b639e90ecb1
tree277dc759b7ae9161ca7859437266c521e4cc5d85
parentffca2b114c6a804d1307781df687e877a373a1c2
ARM: PL011: Ensure IRQs are disabled in UART interrupt handler

As the DMA support introduces a separate interrupt-time callback, our
interrupt handler will not be the only handler which takes the port
lock, so we need to ensure that IRQs are disabled.  We must use the
_irqsave variant so we don't inadvertently enable interrupts.

Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/amba-pl011.c