raw/dpaa2_qdma: fix spin lock release
This shall be unlock post the lock Fixes: 4d9a3f2a0159 ("raw/dpaa2_qdma: support RBP mode") Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
This commit is contained in:
parent
53a1a1f7cb
commit
ee854a65da
@ -1013,7 +1013,7 @@ rte_qdma_vq_destroy_rbp(uint16_t vq_id)
|
||||
|
||||
memset(qdma_vq, 0, sizeof(struct qdma_virt_queue));
|
||||
|
||||
rte_spinlock_lock(&qdma_dev.lock);
|
||||
rte_spinlock_unlock(&qdma_dev.lock);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user