summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorThierry Bultel <tbultel@pixelsurmer.com>2018-03-05 16:27:18 +0300
committerVinod Koul <vinod.koul@intel.com>2018-03-05 17:03:47 +0300
commit2746e2c389f9d50043d21e2204270403efb9d62f (patch)
tree3004e9ec5637564c18bb3a8841ae52ba73949ef3 /drivers/misc
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff)
downloadlinux-2746e2c389f9d50043d21e2204270403efb9d62f.tar.xz
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: Thierry Bultel <tbultel@pixelsurmer.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions