projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5781927
)
dmaengine: at_xdmac: fix missing spin_unlock
author
Ludovic Desroches
<ludovic.desroches@atmel.com>
Thu, 13 Nov 2014 10:52:43 +0000
(11:52 +0100)
committer
Vinod Koul
<vinod.koul@intel.com>
Mon, 17 Nov 2014 08:37:20 +0000
(14:07 +0530)
Lock taken when entering the function but unlock missing before it
returns.
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.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 bf2aacbbf4ccd2f52572f6f835ecaeaad7ac3778..586275fe11203d5c6742a8e7f75b340c9ff05465 100644
(file)
--- a/
drivers/dma/at_xdmac.c
+++ b/
drivers/dma/at_xdmac.c
@@
-901,6
+901,7
@@
at_xdmac_tx_status(struct dma_chan *chan, dma_cookie_t cookie,
*/
if (!desc->active_xfer) {
dma_set_residue(txstate, desc->xfer_size);
+ spin_unlock_bh(&atchan->lock);
return ret;
}