From 53a1a1f7cb849e39c2e9fe88de1d6655ce72f87d Mon Sep 17 00:00:00 2001 From: Hemant Agrawal Date: Wed, 24 Apr 2019 17:15:16 +0530 Subject: [PATCH] raw/dpaa2_qdma: fix spin lock release The code shall be unlock post the lock. Fixes: c22fab9a6c34 ("raw/dpaa2_qdma: support configuration APIs") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c index a41c1e3858..102d423c60 100644 --- a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c +++ b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c @@ -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; } -- 2.20.1