]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dmaengine: bcm2835-dma: Prevent suspend if DMA channel is busy
authorStefan Wahren <wahrenst@gmx.net>
Wed, 4 Dec 2024 16:55:46 +0000 (17:55 +0100)
committerVinod Koul <vkoul@kernel.org>
Tue, 24 Dec 2024 10:07:19 +0000 (15:37 +0530)
commit9602a843cb3a16df8930eb9b046aa7aeb769521b
treee738e3e1549413dddddb20f76327094644b15228
parent68811c928f88828f188656dd3c9c184eeec2ce86
dmaengine: bcm2835-dma: Prevent suspend if DMA channel is busy

bcm2835-dma provides the service to others, so it should suspend
late and resume early. Suspend should be prevented in case a DMA
channel is still busy.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Link: https://lore.kernel.org/r/20241204165546.77941-1-wahrenst@gmx.net
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/bcm2835-dma.c