projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ff25c1
)
dmaengine: xgene-dma: move spin_lock_bh to spin_lock in tasklet
author
Jeff Xie
<chongguiguzi@gmail.com>
Tue, 19 Mar 2019 16:45:19 +0000
(
00:45
+0800)
committer
Vinod Koul
<vkoul@kernel.org>
Mon, 25 Mar 2019 16:22:28 +0000
(21:52 +0530)
It is unnecessary to call spin_lock_bh in a tasklet.
Signed-off-by: Jeff Xie <chongguiguzi@gmail.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xgene-dma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/xgene-dma.c
b/drivers/dma/xgene-dma.c
index eafd6c4b90fe44fa1467b725b0403ae39b32c8e2..002323661d0771dcd4cecbf077346a8b70a02b43 100644
(file)
--- a/
drivers/dma/xgene-dma.c
+++ b/
drivers/dma/xgene-dma.c
@@
-703,7
+703,7
@@
static void xgene_dma_cleanup_descriptors(struct xgene_dma_chan *chan)
INIT_LIST_HEAD(&ld_completed);
- spin_lock
_bh
(&chan->lock);
+ spin_lock(&chan->lock);
/* Clean already completed and acked descriptors */
xgene_dma_clean_completed_descriptor(chan);
@@
-772,7
+772,7
@@
static void xgene_dma_cleanup_descriptors(struct xgene_dma_chan *chan)
*/
xgene_chan_xfer_ld_pending(chan);
- spin_unlock
_bh
(&chan->lock);
+ spin_unlock(&chan->lock);
/* Run the callback for each descriptor, in order */
list_for_each_entry_safe(desc_sw, _desc_sw, &ld_completed, node) {