mirror of https://gitee.com/openkylin/linux.git
f603422544
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
bam_dma.c | ||
hidma.c | ||
hidma.h | ||
hidma_dbg.c | ||
hidma_ll.c | ||
hidma_mgmt.c | ||
hidma_mgmt.h | ||
hidma_mgmt_sys.c |