commit | 2746e2c389f9d50043d21e2204270403efb9d62f | [log] [tgz] |
---|---|---|
author | Thierry Bultel <tbultel@pixelsurmer.com> | Mon Mar 05 14:27:18 2018 +0100 |
committer | Vinod Koul <vinod.koul@intel.com> | Mon Mar 05 19:33:47 2018 +0530 |
tree | 3004e9ec5637564c18bb3a8841ae52ba73949ef3 | |
parent | 7928b2cbe55b2a410a0f5c1f154610059c57b1b2 [diff] |
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>