summaryrefslogtreecommitdiff
path: root/drivers/iio/iio_core_trigger.h
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2021-08-24 14:24:27 -0700
committerVinod Koul <vkoul@kernel.org>2021-08-29 19:14:20 +0530
commitcf84a4b968f38383534bcd0484385c9254828b2c (patch)
tree5bc214fb8ed740803560567d91ad86af9d7cd429 /drivers/iio/iio_core_trigger.h
parentf9f4082dbc56c40093bcb5c1f62c04a916eca9a2 (diff)
downloadlwn-cf84a4b968f38383534bcd0484385c9254828b2c.tar.gz
lwn-cf84a4b968f38383534bcd0484385c9254828b2c.zip
dmaengine: idxd: remove interrupt disable for dev_lock
The spinlock is not being used in hard interrupt context. There is no need to disable irq when acquiring the lock. The interrupt thread handler also is not in bottom half context, therefore we can also remove disabling of the bh. Convert all dev_lock acquisition to plain spin_lock() calls. Reviewed-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/162984026772.1939166.11504067782824765879.stgit@djiang5-desk3.ch.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/iio/iio_core_trigger.h')
0 files changed, 0 insertions, 0 deletions