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:
Hemant Agrawal 2019-04-24 17:15:17 +05:30 committed by Thomas Monjalon
parent 53a1a1f7cb
commit ee854a65da

View File

@ -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;
}