dmaengine: idxd: remove interrupt disable for cmd_lock
authorDave Jiang <dave.jiang@intel.com>
Tue, 24 Aug 2021 21:24:39 +0000 (14:24 -0700)
committerVinod Koul <vkoul@kernel.org>
Sun, 29 Aug 2021 13:44:20 +0000 (19:14 +0530)
commitf9f4082dbc56c40093bcb5c1f62c04a916eca9a2
tree1c31e7117e6975329a89491d0099de1282409705
parentd8071323c5632bdf0a8ef9b9e5662fac43649f9d
dmaengine: idxd: remove interrupt disable for cmd_lock

The cmd_lock spinlock is not being used in hard interrupt context. There is
no need to disable irq when acquiring the lock. Convert all cmd_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/162984027930.1939209.15758413737332339204.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/device.c