diff options
author | Sricharan R <sricharan@codeaurora.org> | 2019-06-28 17:39:46 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-07-05 13:18:27 +0530 |
commit | f6034225442c4a87906d36e975fd9e99a8f95487 (patch) | |
tree | 10b9387054c280c946bbe8c504a6441e71e73b75 /drivers/remoteproc | |
parent | 3f93a4f297961c12bb17aa16cb3a4d1291823cae (diff) | |
download | linux-f6034225442c4a87906d36e975fd9e99a8f95487.tar.bz2 |
dmaengine: qcom: bam_dma: Fix completed descriptors count
One space is left unused in circular FIFO to differentiate
'full' and 'empty' cases. So take that in to account while
counting for the descriptors completed.
Fixes the issue reported here,
https://lkml.org/lkml/2019/6/18/669
Cc: stable@vger.kernel.org
Reported-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Sricharan R <sricharan@codeaurora.org>
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/remoteproc')
0 files changed, 0 insertions, 0 deletions