serial: 8250_mid: recognize interrupt source in handler
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 4 Apr 2016 14:35:10 +0000 (17:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 16:26:55 +0000 (09:26 -0700)
commitc42850f1ae7e70056f852e67bb9dddf927853b47
tree64c36c318b551d2af4adf692c804c1bbc091d3b0
parent107e15fc1f8d6ef69eac5f175971252f76e82f0d
serial: 8250_mid: recognize interrupt source in handler

There is a special register that shows interrupt status by source. In
particular case the source can be a combination of DMA Tx, DMA Rx, and UART.

Read the register and call the handlers only for sources that request an
interrupt.

Fixes: 6ede6dcd87aa ("serial: 8250_mid: add support for DMA engine handling from UART MMIO")
Cc: stable@vger.kernel.org
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_mid.c
This page took 0.027357 seconds and 5 git commands to generate.