summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKartik <kkartik@nvidia.com>2022-10-18 17:58:06 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-03 05:43:03 +0300
commit109a951a9f1fd8a34ebd1896cbbd5d5cede880a7 (patch)
tree76c1f3bd44674a3d4d1ef8310a55e57daac4339b /include
parentc2087b37d10404220d06f4503ef165ab7835b246 (diff)
downloadlinux-109a951a9f1fd8a34ebd1896cbbd5d5cede880a7.tar.xz
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 <jonathanh@nvidia.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Akhil R <akhilrajeev@nvidia.com> Signed-off-by: Kartik <kkartik@nvidia.com> Link: https://lore.kernel.org/r/1666105086-17326-1-git-send-email-kkartik@nvidia.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions