]> 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)
commitd7ba2c09e1aa03e01e1e3be55c8a5f4610500164
treebc9750fdcb47b1c399b39ccba4afaad71f3476fd
parentb8aa7dc5c7535f9abfca4bceb0ade9ee10cf5f54
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