dmaengine: tegra-apb: Improve error message about DMA underflow
authorDmitry Osipenko <digetx@gmail.com>
Sun, 9 Feb 2020 16:33:56 +0000 (19:33 +0300)
committerVinod Koul <vkoul@kernel.org>
Tue, 25 Feb 2020 06:27:34 +0000 (11:57 +0530)
commit01b66a7521274c1f208010db49af2a3d8e274400
tree21644af92c44930155ae2fb3641a1c45142e8b80
parentf261f1cd91efe36e932996efddaa7efffbb62831
dmaengine: tegra-apb: Improve error message about DMA underflow

Technically it is possible that DMA could be misconfigured in a way that
cyclic DMA transfer is processed slower than it takes to complete the
cycle and in this case the DMA is getting aborted with a not very
informative message about the problem, let's improve it.

Suggested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20200209163356.6439-20-digetx@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/tegra20-apb-dma.c