summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/ccree
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2018-07-01 08:02:39 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-07-09 00:33:36 +0800
commit5c324a2ffa06f8b6fda59a77c6807acb9f45cfee (patch)
tree6594225d6c1cfe093cdc41b39f0103e8a236f053 /drivers/crypto/ccree
parent84f366dadc6a03dd39a3f4b2fc63347f04a56628 (diff)
downloadblackbird-op-linux-5c324a2ffa06f8b6fda59a77c6807acb9f45cfee.tar.gz
blackbird-op-linux-5c324a2ffa06f8b6fda59a77c6807acb9f45cfee.zip
crypto: ccree - rate limit debug print
A debug print about register status post interrupt can happen quite often. Rate limit it to avoid cluttering the log. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccree')
-rw-r--r--drivers/crypto/ccree/cc_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/ccree/cc_driver.c b/drivers/crypto/ccree/cc_driver.c
index bd974fef05e4..1ff229c2aeab 100644
--- a/drivers/crypto/ccree/cc_driver.c
+++ b/drivers/crypto/ccree/cc_driver.c
@@ -131,8 +131,8 @@ static irqreturn_t cc_isr(int irq, void *dev_id)
}
if (irr) {
- dev_dbg(dev, "IRR includes unknown cause bits (0x%08X)\n",
- irr);
+ dev_dbg_ratelimited(dev, "IRR includes unknown cause bits (0x%08X)\n",
+ irr);
/* Just warning */
}
OpenPOWER on IntegriCloud