commit | a5b21a8ba2a0d6ab114b8ca9c8423e84f47844b1 | [log] [tgz] |
---|---|---|
author | Michael Tretter <m.tretter@pengutronix.de> | Mon Nov 26 16:14:25 2018 +0100 |
committer | Vinod Koul <vkoul@kernel.org> | Wed Dec 05 14:37:32 2018 +0530 |
tree | ce3dd900f30e11aa6cbab40c880e9ad87ededd74 | |
parent | 651022382c7f8da46cb4872a545ee1da6d097d2a [diff] |
dmaengine: zynqmp_dma: replace spin_lock_bh with spin_lock_irqsave 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. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Vinod Koul <vkoul@kernel.org>