]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon/hpre - Init the value of current_q of debugfs
authorMeng Yu <yumeng18@huawei.com>
Fri, 10 Jul 2020 07:40:41 +0000 (15:40 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 16 Jul 2020 11:49:10 +0000 (21:49 +1000)
commit6dc86c58cc09deb5779e0d924b28c60909f05b1b
treebc9750fdcb47b1c399b39ccba4afaad71f3476fd
parent933585722d229b029d8f583d0033855a00b6af99
crypto: hisilicon/hpre - Init the value of current_q of debugfs

Initialize current queue number as HPRE_PF_DEF_Q_NUM, or it is zero
and we can't set its value by "current_q_write".

Signed-off-by: Meng Yu <yumeng18@huawei.com>
Reviewed-by: Zaibo Xu <xuzaibo@huawei.com>
Reviewed-by: Hui Tang <tanghui20@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/hpre/hpre_main.c