]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250_dma: terminate transfer explicitly when timeout
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 28 Nov 2014 14:17:11 +0000 (16:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 22:16:27 +0000 (14:16 -0800)
commit7835a2773a3bff92016c6de150a242549e03c56d
treeb2d6128b7c6d16ce4c5799d31f30736c96f00afc
parent60e9129ad134fd82cafa394b5df6b14c91292af1
serial: 8250_dma: terminate transfer explicitly when timeout

There is no need to terminate transfer in the __dma_rx_complete() since it's
called at the end of transfer. Special case when serial timeout occurs is
handled separately where we have to terminate transfer.

Signed-off-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_dma.c