diff options
author | Michael Walle <[email protected]> | 2020-03-25 10:06:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-03-26 15:34:05 +0100 |
commit | d7c53fb081c6347675bcd6fc4a9306111c42c111 (patch) | |
tree | ec943b76880598a53f207fbd5dd11d0f023a96b6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d0e7600b914c9fd4935fe6dabf0cd5d71cb94347 (diff) |
tty: serial: fsl_lpuart: fix return value checking
The return value of lpuart_dma_tx_request() is an negative errno on
failure and zero on success.
Fixes: 159381df1442f ("tty: serial: fsl_lpuart: fix DMA operation when using IOMMU")
Reported-by: Leonard Crestez <[email protected]>
Signed-off-by: Michael Walle <[email protected]>
Reviewed-by: Fugang Duan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions