]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250_dma: no need to set tx_err twice
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 6 Nov 2014 11:28:17 +0000 (13:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 23:01:03 +0000 (15:01 -0800)
commitdab55220aee48015e98c6c0e8d26093533453ff5
treed7a9e614d6ede05a5dce845ae10fa8a577b223e7
parent2a215f420a92e45c73845dfb02540af847cb7d05
serial: 8250_dma: no need to set tx_err twice

In the serial8250_tx_dma() the tx_err flag is set in case of error. Thus, there
is no need to repeat this in __dma_tx_complete().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dma.c