]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: pl330: fix wrong usage of spinlock flags in dma_cyclc
authorBumyong Lee <bumyong.lee@samsung.com>
Fri, 7 May 2021 06:36:47 +0000 (15:36 +0900)
committerVinod Koul <vkoul@kernel.org>
Mon, 10 May 2021 16:08:46 +0000 (21:38 +0530)
commitc03429539957a3da0a08ea4cd5a7525e884b7762
tree0d3e5dcbe92f4216aa0580cd60ecc6d5dea77a60
parent6dae06b964d96616359b8f0e72a9cf6ee30e77c0
dmaengine: pl330: fix wrong usage of spinlock flags in dma_cyclc

flags varible which is the input parameter of pl330_prep_dma_cyclic()
should not be used by spinlock_irq[save/restore] function.

Signed-off-by: Jongho Park <jongho7.park@samsung.com>
Signed-off-by: Bumyong Lee <bumyong.lee@samsung.com>
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Link: https://lore.kernel.org/r/20210507063647.111209-1-chanho61.park@samsung.com
Fixes: 0a9f8d39dff7 ("dmaengine: pl330: Merge dma_pl330_dmac and pl330_dmac structs")
Cc: stable@vger.kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/pl330.c