dmaengine: ti: k3-udma: Fix delayed_work usage for tx drain workaround
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 18 Jun 2020 11:40:04 +0000 (14:40 +0300)
committerVinod Koul <vkoul@kernel.org>
Wed, 24 Jun 2020 06:03:23 +0000 (11:33 +0530)
commitd964d5ff68dba21b53368656adec3fb5f50426bb
tree9fbf3f9a0b707cf738d32657f32d156f4addfa35
parent66983bc18fad17d10766650b3685045f6f092d73
dmaengine: ti: k3-udma: Fix delayed_work usage for tx drain workaround

INIT_DELAYED_WORK_ONSTACK() must be used with on-stack delayed work, which
is not the case here.
Use normal delayed_work for the channels instead.

Fixes: 25dcb5dd7b7c ("dmaengine: ti: New driver for K3 UDMA")
Reported-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20200618114004.6268-1-peter.ujfalusi@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ti/k3-udma.c