]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
dmaengine: mediatek: do not issue a new desc if one is still current
authorGuillaume Ranquet <granquet@baylibre.com>
Thu, 13 May 2021 19:26:41 +0000 (21:26 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 13 Aug 2021 07:29:17 +0000 (09:29 +0200)
commitf3cfc38a11ff7c250b3d920443ffbcb10f1e6991
tree3833a15459a529847dc3c03adeb1092026f69aab
parent89f1465b989afa5709937b47da4e2641616e0f5b
dmaengine: mediatek: do not issue a new desc if one is still current

BugLink: https://bugs.launchpad.net/bugs/1936863
[ Upstream commit 2537b40b0a4f61d2c83900744fe89b09076be9c6 ]

Avoid issuing a new desc if one is still being processed as this can
lead to some desc never being marked as completed.

Signed-off-by: Guillaume Ranquet <granquet@baylibre.com>
Link: https://lore.kernel.org/r/20210513192642.29446-3-granquet@baylibre.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/dma/mediatek/mtk-uart-apdma.c