linux-uconsole/drivers/dma/qcom
Sricharan R 018c968de7 dmaengine: qcom: bam_dma: Fix completed descriptors count
commit f603422544 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-07-10 09:53:48 +02:00
..
bam_dma.c dmaengine: qcom: bam_dma: Fix completed descriptors count 2019-07-10 09:53:48 +02:00
hidma.c dmaengine: qcom_hidma: initialize tx flags in hidma_prep_dma_* 2019-04-05 22:33:15 +02:00
hidma.h dmaengine: qcom_hidma: introduce memset support 2017-07-19 09:33:21 +05:30
hidma_dbg.c dmaengine: qcom_hidma: make pending_tre_count atomic 2016-11-03 18:55:44 +05:30
hidma_ll.c dmaengine: qcom_hidma: check pending interrupts 2017-12-12 11:02:43 +05:30
hidma_mgmt.c drivers: remove force dma flag from buses 2018-05-03 16:25:08 +02:00
hidma_mgmt.h
hidma_mgmt_sys.c dmaengine: qcom: simplify getting .drvdata 2018-04-22 11:48:44 +05:30
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00