52f0b4a30f
[ Upstream commit 2ff0ad847951d61c2d8b309e1ccefb26c57dcc7b ]
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:
|
||
---|---|---|
.. | ||
hpre | ||
sec | ||
sec2 | ||
trng | ||
zip | ||
Kconfig | ||
Makefile | ||
debugfs.c | ||
qm.c | ||
qm_common.h | ||
sgl.c |