From: Hemant Agrawal Date: Wed, 24 Apr 2019 11:45:17 +0000 (+0530) Subject: raw/dpaa2_qdma: fix spin lock release X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ee854a65da251ac77cd37c1cb87fb37e3b40c2d6;p=dpdk.git 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 --- diff --git a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c index 102d423c60..a391913b0d 100644 --- a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c +++ b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c @@ -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; }