Skip to contentSkip to conversation

dmaengine: zynqmp_dma: replace spin_lock_bh with spin_lock_irqsave

DISCUSSION Vinod Koul 1 participant 1 message Dec 5, 2018 dmaengine

lore
Share & tools
lore

Vinod Koul

author maintainer Applied
#0 lore raw
Quoted 3 lines · Michael Tretter

All device_prep_dma_* functions and device_issue_pending can be called from an interrupt context. As this includes hard IRQs, we must use spin_lock_irqsave() instead of spin_lock_bh() to access chan->lock.

Applied, thanks