diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2022-08-19 14:00:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-30 15:15:20 +0300 |
commit | 70d15f216e2919d821f75731eb57d4b7dc44f19b (patch) | |
tree | a80a485d6415ec5f3e0ce11bba25f376fe56ae11 /drivers/tty/serial/sccnxp.c | |
parent | a3911f6ea5542d56366a6495f2464a312d85d15b (diff) | |
download | linux-70d15f216e2919d821f75731eb57d4b7dc44f19b.tar.xz |
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>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions