crypto: caam/qi2 - rate-limit enqueue failure prints

Avoid console being flooded with prints in case HW is too busy to accept
new enqueue requests.

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Horia Geantă 2019-02-11 13:46:13 +02:00 committed by Herbert Xu
parent ac5d15b451
commit f1657eb99e
1 changed files with 1 additions and 1 deletions

View File

@ -5280,7 +5280,7 @@ int dpaa2_caam_enqueue(struct device *dev, struct caam_request *req)
}
if (unlikely(err)) {
dev_err(dev, "Error enqueuing frame: %d\n", err);
dev_err_ratelimited(dev, "Error enqueuing frame: %d\n", err);
goto err_out;
}