serial: 8250: Clear dma tx_err unconditionally
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 19 Aug 2022 11:00:02 +0000 (14:00 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Aug 2022 12:15:20 +0000 (14:15 +0200)
commit70d15f216e2919d821f75731eb57d4b7dc44f19b
treea80a485d6415ec5f3e0ce11bba25f376fe56ae11
parenta3911f6ea5542d56366a6495f2464a312d85d15b
serial: 8250: Clear dma tx_err unconditionally

No need to check non-zeroness first and then clear. Just set to zero
unconditionally.

Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/3b885e7f-1372-3aa9-febd-34566ba25e3d@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dma.c