summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorSricharan R <sricharan@codeaurora.org>2019-06-28 14:09:46 +0200
committerVinod Koul <vkoul@kernel.org>2019-07-05 09:48:27 +0200
commitf6034225442c4a87906d36e975fd9e99a8f95487 (patch)
tree10b9387054c280c946bbe8c504a6441e71e73b75 /samples
parentdmaengine: imx-sdma: remove BD_INTR for channel0 (diff)
downloadlinux-f6034225442c4a87906d36e975fd9e99a8f95487.tar.xz
linux-f6034225442c4a87906d36e975fd9e99a8f95487.zip
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 'samples')
0 files changed, 0 insertions, 0 deletions