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)
commit9bdd6369aa64fade997c6f11325f7c7b60ec3f6a
treeb2d6128b7c6d16ce4c5799d31f30736c96f00afc
parent9e5df9f88c5d874a9154e137a2e99413750540cd
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
This page took 0.024346 seconds and 5 git commands to generate.