crypto: hisilicon/qm - modify the value of qos initialization
authorKai Ye <yekai13@huawei.com>
Sat, 20 Nov 2021 04:47:37 +0000 (12:47 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Nov 2021 05:25:17 +0000 (16:25 +1100)
commitecc7169d4f7318512d70192ce03d899949b153b2
treed86d563faa45c4eb17e675f3ef841144c171b3aa
parent376a5c3cdd7cf47d2436dd466548c0fff792f4c7
crypto: hisilicon/qm - modify the value of qos initialization

The value of qos should be reset after flr resetting or device
resetting. So set the max of qos value for every function. Then
update the value of qos when user writing the alg_qos.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c