Skip to content
Commit 2746e2c3 authored by Thierry Bultel's avatar Thierry Bultel Committed by Vinod Koul
Browse files

dmaengine: imx-sdma: fix pagefault when channel is disabled during interrupt



Add a spinlock and a 'enabled' boolean on channel descriptor, to avoid
using buffer descriptors in the interrupt context,
when sdma_disable_channel is called meanwhile.

Signed-off-by: default avatarThierry Bultel <tbultel@pixelsurmer.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 7928b2cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment