diff options
author | Vignesh Raghavendra <vigneshr@ti.com> | 2020-03-19 16:33:40 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-24 12:25:10 +0100 |
commit | 4bcf59a5dea0f4e768e2b84fc78ce13a7fb27863 (patch) | |
tree | 81d42cbd185a617a8b36b8866b899ce1842525ed /lib/bitrev.c | |
parent | 7cf4df30a98175033e9849f7f16c46e96ba47f41 (diff) |
serial: 8250: 8250_omap: Account for data in flight during DMA teardown
Take into account data stuck in DMA internal buffers before pushing data
to higher layer. dma_tx_state has "in_flight_bytes" member that provides
this information.
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20200319110344.21348-3-vigneshr@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/bitrev.c')
0 files changed, 0 insertions, 0 deletions