Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: [email protected] Reported-by: Srinivas Kandagatla <[email protected]> Signed-off-by: Sricharan R <[email protected]> Tested-by: Srinivas Kandagatla <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
- Loading branch information