]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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>
Wed, 1 Jun 2016 19:15:53 +0000 (12:15 -0700)
commit430b4aab73830577eb22aa434b35947f87e7ea4b
tree7baa7c24220462c5412c199cde0aa05210cf0dcd
parent3c5dafe43d1e36b70606d3baef8d7f24c0883343
serial: 8250_mid: recognize interrupt source in handler

commit c42850f1ae7e70056f852e67bb9dddf927853b47 upstream.

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")
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