linux/drivers/crypto/hisilicon/zip
Zhiqi Song 2ff0ad8479 crypto: hisilicon/zip - save capability registers in probe process
Pre-store the valid value of the zip alg support related capability
register in hisi_zip_qm_init(), which will be called by hisi_zip_probe().
It can reduce the number of capability register queries and avoid
obtaining incorrect values in abnormal scenarios, such as reset failed
and the memory space disabled.

Fixes: db700974b6 ("crypto: hisilicon/zip - support zip capability")
Signed-off-by: Zhiqi Song <songzhiqi1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2023-12-08 11:59:45 +08:00
..
Makefile
zip_crypto.c crypto: hisilicon/qm - check function qp num before alg register 2023-10-05 18:16:31 +08:00
zip_main.c crypto: hisilicon/zip - save capability registers in probe process 2023-12-08 11:59:45 +08:00
zip.h crypto: hisilicon/zip - support zip capability 2022-09-16 18:29:45 +08:00