summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorVignesh Raghavendra <vigneshr@ti.com>2020-03-19 16:33:39 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-01 13:17:46 +0200
commit47e276e1c40ebbda39143a7ac87254d5078cb9a9 (patch)
tree3df50203631d40fdab26b9c2572f1abb1a3b02a9 /tools/perf
parent09a2cf6771059fbc49f26bc26b1d582e04a75ea6 (diff)
serial: 8250: 8250_omap: Terminate DMA before pushing data on RX timeout
[ Upstream commit 7cf4df30a98175033e9849f7f16c46e96ba47f41 ] Terminate and flush DMA internal buffers, before pushing RX data to higher layer. Otherwise, this will lead to data corruption, as driver would end up pushing stale buffer data to higher layer while actual data is still stuck inside DMA hardware and has yet not arrived at the memory. While at that, replace deprecated dmaengine_terminate_all() with dmaengine_terminate_async(). Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Link: https://lore.kernel.org/r/20200319110344.21348-2-vigneshr@ti.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions