summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/enum.h
diff options
context:
space:
mode:
authorSricharan R2019-06-28 14:09:46 +0200
committerVinod Koul2019-07-05 09:48:27 +0200
commitf6034225442c4a87906d36e975fd9e99a8f95487 (patch)
tree10b9387054c280c946bbe8c504a6441e71e73b75 /drivers/net/ethernet/sfc/enum.h
parentdmaengine: imx-sdma: remove BD_INTR for channel0 (diff)
downloadkernel-qcow2-linux-f6034225442c4a87906d36e975fd9e99a8f95487.tar.gz
kernel-qcow2-linux-f6034225442c4a87906d36e975fd9e99a8f95487.tar.xz
kernel-qcow2-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 'drivers/net/ethernet/sfc/enum.h')
0 files changed, 0 insertions, 0 deletions