dmaengine: tegra210-adma: Don't program FIFO threshold
authorJonathan Hunter <jonathanh@nvidia.com>
Wed, 31 Jul 2019 10:16:39 +0000 (11:16 +0100)
committerVinod Koul <vkoul@kernel.org>
Wed, 31 Jul 2019 15:17:24 +0000 (20:47 +0530)
commita9afc9ea93995021f29025e62d83415a45c5f58b
treed2a480e513242cbe22c5890f180335d9ad92a62d
parent57dbd0e4b97d3bc9f257159a8853badff2dfb0d1
dmaengine: tegra210-adma: Don't program FIFO threshold

The Tegra210 ADMA supports two modes for transferring data to a FIFO
which are ...

1. Transfer data to/from the FIFO as soon as a single burst can be
   transferred.
2. Transfer data to/from the FIFO based upon FIFO thresholds, where
   the FIFO threshold is specified in terms on multiple bursts.

Currently, the ADMA driver programs the FIFO threshold values in the
FIFO_CTRL register, but never enables the transfer mode that uses
these threshold values. Given that these have never been used so far,
simplify the ADMA driver by removing the programming of these threshold
values.

Signed-off-by: Jonathan Hunter <jonathanh@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20190731101639.22755-1-jonathanh@nvidia.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/tegra210-adma.c