diff options
author | Kartik <[email protected]> | 2022-10-18 20:28:06 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-11-03 03:43:03 +0100 |
commit | 109a951a9f1fd8a34ebd1896cbbd5d5cede880a7 (patch) | |
tree | 76c1f3bd44674a3d4d1ef8310a55e57daac4339b /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | c2087b37d10404220d06f4503ef165ab7835b246 (diff) |
serial: tegra: Read DMA status before terminating
Read the DMA status before terminating the DMA, as doing so deletes
the DMA desc.
Also, to get the correct transfer status information, pause the DMA
using dmaengine_pause() before reading the DMA status.
Fixes: e9ea096dd225 ("serial: tegra: add serial driver")
Reviewed-by: Jon Hunter <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Signed-off-by: Akhil R <[email protected]>
Signed-off-by: Kartik <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions