]> git.baikalelectronics.ru Git - 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)
commitd42e153d4abfddc467926458a6d41f5e46a412f7
tree277dc759b7ae9161ca7859437266c521e4cc5d85
parente993a2571f7d7af16b12214dedb08537393c2715
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