diff options
author | Sameer Pujar <spujar@nvidia.com> | 2019-09-16 12:35:13 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-10-14 10:10:38 +0300 |
commit | 9ec691f48b5ef741a48af8932ccaec859c67e8f1 (patch) | |
tree | d6852ebe332a20410cbf9637c022a65fda80e201 /mm/hmm.c | |
parent | 8b6bc5fd71e677864d1a3b896b3069a6e0c5e214 (diff) | |
download | linux-9ec691f48b5ef741a48af8932ccaec859c67e8f1.tar.xz |
dmaengine: tegra210-adma: fix transfer failure
>From Tegra186 onwards OUTSTANDING_REQUESTS field is added in channel
configuration register(bits 7:4) which defines the maximum number of reads
from the source and writes to the destination that may be outstanding at
any given point of time. This field must be programmed with a value
between 1 and 8. A value of 0 will prevent any transfers from happening.
Thus added 'has_outstanding_reqs' bool member in chip data structure and is
set to false for Tegra210, since the field is not applicable. For Tegra186
it is set to true and channel configuration is updated with maximum
outstanding requests.
Fixes: 433de642a76c ("dmaengine: tegra210-adma: add support for Tegra186/Tegra194")
Cc: stable@vger.kernel.org
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/1568626513-16541-1-git-send-email-spujar@nvidia.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'mm/hmm.c')
0 files changed, 0 insertions, 0 deletions