summaryrefslogtreecommitdiff
path: root/drivers/dma/virt-dma.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-11-23 13:06:43 +0300
committerVinod Koul <vinod.koul@intel.com>2015-12-05 11:13:30 +0300
commitb1d6ab1aa8cdc23b89bcd578ea8d5e3c501a13d9 (patch)
tree645ae3fcc36cdfa89b790c3440e987db7c04bae0 /drivers/dma/virt-dma.h
parentbc0e7345168c0f7483d2d1da86285d89136417cd (diff)
downloadlinux-b1d6ab1aa8cdc23b89bcd578ea8d5e3c501a13d9.tar.xz
dmaengine: Add might_sleep() to dmaengine_synchronize()
Implementations of dmaengine_synchronize() are allowed to sleep, hence the function must not be called to from atomic context. Add might_sleep() to dmaengine_synchronize() to make it easier to detect non-compliant callers. Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/virt-dma.h')
0 files changed, 0 insertions, 0 deletions