tty/serial: atmel: re-integrate status check in irq handler
authorNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 17 Jun 2016 10:05:46 +0000 (12:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2016 20:38:37 +0000 (13:38 -0700)
commit9205218e491d70bf45f4527cd3bcb5cd3734ae17
tree4c6542027d07066134e1392eba69fcf78ffe6314
parent9b6519009dbe2b361a73284ea0fd2e9b86aeef4d
tty/serial: atmel: re-integrate status check in irq handler

The IRQ status check and related actions was done in the tasklet without
benefit. So, move it back to the IRQ context to simplify IRQ handling and
having the possibility to split the tasklet in two separated ones for
receive and transmit actions.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/atmel_serial.c