raw/dpaa2_qdma: fix spin lock release
The code shall be unlock post the lock.
Fixes: c22fab9a6c
("raw/dpaa2_qdma: support configuration APIs")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
This commit is contained in:
parent
12784d9b6e
commit
53a1a1f7cb
@ -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_unlock(&qdma_dev.lock);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user