diff options
author | Thierry Bultel <tbultel@pixelsurmer.com> | 2018-03-05 16:27:18 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2018-03-05 17:03:47 +0300 |
commit | 2746e2c389f9d50043d21e2204270403efb9d62f (patch) | |
tree | 3004e9ec5637564c18bb3a8841ae52ba73949ef3 /drivers/misc | |
parent | 7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff) | |
download | linux-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