crypto: cavium - Downgrade the annoying misc interrupt print from dev_err to dev_dbg
authorGeorge Cherian <george.cherian@cavium.com>
Thu, 4 May 2017 11:34:44 +0000 (11:34 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 19 Jun 2017 06:11:48 +0000 (14:11 +0800)
Mailbox interrupt is common and it is not an error interrupt.
So downgrade the print from dev_err to  dev_dbg.

Signed-off-by: George Cherian <george.cherian@cavium.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/cavium/cpt/cptvf_main.c

index 6ffc740c7431d2c2f2b873b517ed8aa14f3df3c3..5c796ed55ebada4ee82704c0b52970173aef4f9a 100644 (file)
@@ -525,7 +525,7 @@ static irqreturn_t cptvf_misc_intr_handler(int irq, void *cptvf_irq)
        intr = cptvf_read_vf_misc_intr_status(cptvf);
        /*Check for MISC interrupt types*/
        if (likely(intr & CPT_VF_INTR_MBOX_MASK)) {
-               dev_err(&pdev->dev, "Mailbox interrupt 0x%llx on CPT VF %d\n",
+               dev_dbg(&pdev->dev, "Mailbox interrupt 0x%llx on CPT VF %d\n",
                        intr, cptvf->vfid);
                cptvf_handle_mbox_intr(cptvf);
                cptvf_clear_mbox_intr(cptvf);