Skip to content

Commit 2a92869

Browse files
Yang Shenherbertx
authored andcommitted
crypto: hisilicon/zip - supplement some comments
Supplement some comments. Signed-off-by: Yang Shen <shenyang39@huawei.com> Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent f97a3d7 commit 2a92869

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/crypto/hisilicon/zip/zip_main.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ static int hisi_zip_set_user_domain_and_cache(struct hisi_qm *qm)
285285
writel(HZIP_DECOMP_CHECK_ENABLE | HZIP_ALL_COMP_DECOMP_EN,
286286
base + HZIP_CLOCK_GATE_CTRL);
287287

288-
/* enable sqc writeback */
288+
/* enable sqc,cqc writeback */
289289
writel(SQC_CACHE_ENABLE | CQC_CACHE_ENABLE | SQC_CACHE_WB_ENABLE |
290290
CQC_CACHE_WB_ENABLE | FIELD_PREP(SQC_CACHE_WB_THRD, 1) |
291291
FIELD_PREP(CQC_CACHE_WB_THRD, 1), base + QM_CACHE_CTL);
@@ -358,7 +358,7 @@ static int current_qm_write(struct ctrl_debug_file *file, u32 val)
358358
if (val > qm->vfs_num)
359359
return -EINVAL;
360360

361-
/* Calculate curr_qm_qp_num and store */
361+
/* According PF or VF Dev ID to calculation curr_qm_qp_num and store */
362362
if (val == 0) {
363363
qm->debug.curr_qm_qp_num = qm->qp_num;
364364
} else {

0 commit comments

Comments
 (0)