crypto: hisilicon/zip - support fallback for zip

[ Upstream commit 73398f85a4 ]

When the hardware queue resource busy(no shareable queue)
or memery alloc fail in initialization of acomp_alg, use
soft algorithm to complete the work.

Fixes: 1a9e6f59ca ("crypto: hisilicon/zip - remove zlib and gzip")
Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Chenghai Huang 2025-12-18 21:44:50 +08:00 • committed by Greg Kroah-Hartman
commit cc7a36b6ac
2 changed files with 43 additions and 8 deletions