summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/mpc52xx_uart.c
diff options
context:
space:
mode:
authorLeilei Zhao <leilei.zhao@atmel.com>2015-04-09 10:48:15 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-06 22:26:58 +0200
commitd033e82db9a5e9bc93224c8a058b9c03e4e3f8ad (patch)
tree29685cab9edd64334867e221a943cb5c1be791b2 /drivers/tty/serial/mpc52xx_uart.c
parent74a76089d2916ff7f87c37a482da6497b17cdb90 (diff)
tty/serial: at91: handle IRQ status more safely
Handle the changed flag of IRQ status in interruption instead of handling it in tasklet due to the tasklet may be scheduled more than once in one interruption. Otherwise, the changed status may be processed more than once which will lead to unexpected result. And seriously, kernel will crash. Signed-off-by: Leilei Zhao <leilei.zhao@atmel.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/mpc52xx_uart.c')
0 files changed, 0 insertions, 0 deletions