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

View File

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