From b4053c4b8f7d9d2162b36a6f5271073d4b623713 Mon Sep 17 00:00:00 2001 From: Alok Makhariya Date: Tue, 16 Jan 2018 16:38:17 +0530 Subject: [PATCH] crypto/dpaa_sec: retire fq while detaching with session Signed-off-by: Alok Makhariya Acked-by: Akhil Goyal --- drivers/crypto/dpaa_sec/dpaa_sec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c index 66828b5d0f..f2f9328d1f 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec.c +++ b/drivers/crypto/dpaa_sec/dpaa_sec.c @@ -1248,6 +1248,8 @@ dpaa_sec_detach_rxq(struct dpaa_sec_dev_private *qi, struct qman_fq *fq) for (i = 0; i < qi->max_nb_sessions; i++) { if (&qi->inq[i] == fq) { + qman_retire_fq(fq, NULL); + qman_oos_fq(fq); qi->inq_attach[i] = 0; return 0; } -- 2.20.1