diff options
author | Horia Geantă <horia.geanta@nxp.com> | 2019-02-11 13:46:13 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-02-22 12:47:26 +0800 |
commit | f1657eb99e4a2e03649f57b785e906647cdcc76e (patch) | |
tree | 7c1ee22b37856d8c949e89bed9fdb2547791d585 /drivers | |
parent | ac5d15b4519f418818036e1e23a392e3d78095f6 (diff) | |
download | linux-f1657eb99e4a2e03649f57b785e906647cdcc76e.tar.bz2 |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/crypto/caam/caamalg_qi2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/caam/caamalg_qi2.c b/drivers/crypto/caam/caamalg_qi2.c index ce27c88e750f..6a6a508f5fd2 100644 --- a/drivers/crypto/caam/caamalg_qi2.c +++ b/drivers/crypto/caam/caamalg_qi2.c @@ -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; } |