serial: 8250_mid: Read RX buffer on RX DMA timeout for DNV
authorChuah, Kim Tatt <kim.tatt.chuah@intel.com>
Wed, 15 Jun 2016 05:44:13 +0000 (13:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2016 21:30:42 +0000 (14:30 -0700)
commit692aa1905679bd72f84115986235d214f6096a98
treea5e42c05e35d27bed55353c9624492dca6d97ddd
parentfd9e516d83108ad82d2c0c30097a6143c779f9c0
serial: 8250_mid: Read RX buffer on RX DMA timeout for DNV

In DNV, when RX DMA is used and number of bytes received is less than
transfer size, only RX DMA timeout interrupt is sent. When this happens,
read the RX buffer.

Signed-off-by: Chuah, Kim Tatt <kim.tatt.chuah@intel.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_mid.c