git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12784d9
)
raw/dpaa2_qdma: fix spin lock release
author
Hemant Agrawal
<hemant.agrawal@nxp.com>
Wed, 24 Apr 2019 11:45:16 +0000
(17:15 +0530)
committer
Thomas Monjalon
<thomas@monjalon.net>
Thu, 2 May 2019 21:28:22 +0000
(23:28 +0200)
The code shall be unlock post the lock.
Fixes:
c22fab9a6c34
("raw/dpaa2_qdma: support configuration APIs")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/raw/dpaa2_qdma/dpaa2_qdma.c
patch
|
blob
|
history
diff --git
a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c
b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c
index
a41c1e3
..
102d423
100644
(file)
--- a/
drivers/raw/dpaa2_qdma/dpaa2_qdma.c
+++ b/
drivers/raw/dpaa2_qdma/dpaa2_qdma.c
@@
-984,7
+984,7
@@
rte_qdma_vq_destroy(uint16_t vq_id)
memset(qdma_vq, 0, sizeof(struct qdma_virt_queue));
- rte_spinlock_lock(&qdma_dev.lock);
+ rte_spinlock_
un
lock(&qdma_dev.lock);
return 0;
}