Skip to content

Commit

Permalink
crypto: caam/qi - lower driver verbosity
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Horia Geantă authored and Herbert Xu committed Jul 18, 2017
1 parent b3b2046 commit c7a91eb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/crypto/caam/qi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit c7a91eb

Please sign in to comment.