crypto: caam/qi - lower driver verbosity
authorHoria Geantă <horia.geanta@nxp.com>
Mon, 10 Jul 2017 05:40:35 +0000 (08:40 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 18 Jul 2017 10:16:04 +0000 (18:16 +0800)
Change log level for some prints from dev_info() to dev_dbg(), low-level
details are needed only when debugging.

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/qi.c

index 1c1f3faf63941a25362a6a07d98d94e38f3f6f79..6d5a010a1881b62a62f3b74e3196a9ceff1bfa2b 100644 (file)
@@ -201,8 +201,8 @@ static struct qman_fq *create_caam_req_fq(struct device *qidev,
                goto init_req_fq_fail;
        }
 
-       dev_info(qidev, "Allocated request FQ %u for CPU %u\n", req_fq->fqid,
-                smp_processor_id());
+       dev_dbg(qidev, "Allocated request FQ %u for CPU %u\n", req_fq->fqid,
+               smp_processor_id());
        return req_fq;
 
 init_req_fq_fail:
@@ -643,7 +643,7 @@ static int alloc_rsp_fq_cpu(struct device *qidev, unsigned int cpu)
 
        per_cpu(pcpu_qipriv.rsp_fq, cpu) = fq;
 
-       dev_info(qidev, "Allocated response FQ %u for CPU %u", fq->fqid, cpu);
+       dev_dbg(qidev, "Allocated response FQ %u for CPU %u", fq->fqid, cpu);
        return 0;
 }
 
@@ -676,7 +676,7 @@ static int init_cgr(struct device *qidev)
                return ret;
        }
 
-       dev_info(qidev, "Congestion threshold set to %llu\n", val);
+       dev_dbg(qidev, "Congestion threshold set to %llu\n", val);
        return 0;
 }