Skip to content

Commit

Permalink
raw/dpaa2_qdma: fix spin lock release
Browse files Browse the repository at this point in the history
[ upstream commit 53a1a1f ]

The code shall be unlock post the lock.

Fixes: c22fab9 ("raw/dpaa2_qdma: support configuration APIs")

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
  • Loading branch information
hemantagr authored and kevintraynor committed May 8, 2019
1 parent 25df432 commit e1d18d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/raw/dpaa2_qdma/dpaa2_qdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,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;
}
Expand Down

0 comments on commit e1d18d8

Please sign in to comment.