summaryrefslogtreecommitdiff
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorSricharan R <sricharan@codeaurora.org>2019-06-28 17:39:46 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-10 09:53:48 +0200
commit018c968de710af1372d456ededc0a575ee038b92 (patch)
tree49f5d78b79de50b808dc6ab10fc2b13663bc7a0e /kernel/workqueue.c
parent870de149950551a3f9735f359b6440e69ab7ccf9 (diff)
dmaengine: qcom: bam_dma: Fix completed descriptors count
commit f6034225442c4a87906d36e975fd9e99a8f95487 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>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions