projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c361b1
)
dmaengine: at_xdmac: unlock spin lock before return
author
Niklas Cassel
<niklas.cassel@axis.com>
Tue, 7 Apr 2015 14:42:45 +0000
(16:42 +0200)
committer
Vinod Koul
<vinod.koul@intel.com>
Fri, 17 Apr 2015 18:08:28 +0000
(23:38 +0530)
Signed-off-by: Niklas Cassel <niklass@axis.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_xdmac.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/at_xdmac.c
b/drivers/dma/at_xdmac.c
index 09e2825a547a2098cc28a0e3e20079c33c52fe09..6d18abf88cb505c5fdcff9ef6c8227e93bc39e23 100644
(file)
--- a/
drivers/dma/at_xdmac.c
+++ b/
drivers/dma/at_xdmac.c
@@
-1155,8
+1155,10
@@
static int at_xdmac_device_resume(struct dma_chan *chan)
dev_dbg(chan2dev(chan), "%s\n", __func__);
spin_lock_bh(&atchan->lock);
- if (!at_xdmac_chan_is_paused(atchan))
+ if (!at_xdmac_chan_is_paused(atchan)) {
+ spin_unlock_bh(&atchan->lock);
return 0;
+ }
at_xdmac_write(atxdmac, AT_XDMAC_GRWR, atchan->mask);
clear_bit(AT_XDMAC_CHAN_IS_PAUSED, &atchan->status);
This page took
0.027803 seconds
and
5
git commands to generate.