]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
spi: tegra114: terminate dma and reset on transfer timeout
authorSowjanya Komatineni <skomatineni@nvidia.com>
Wed, 27 Mar 2019 05:56:27 +0000 (22:56 -0700)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 05:29:37 +0000 (00:29 -0500)
commit77e424fc7e93de4f839dd5328fcc9c217572a523
tree556da8085e4e5068dad48544cc8a6913e029f582
parentd0e99a58f974182e3c93e224fc3a0cfe725fe6a3
spi: tegra114: terminate dma and reset on transfer timeout

BugLink: https://bugs.launchpad.net/bugs/1863019
[ Upstream commit 32bd1a9551cae34e6889afa235c7afdfede9aeac ]

Fixes: terminate DMA and perform controller reset on transfer timeout
to clear the FIFO's and errors.

Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/spi/spi-tegra114.c