linux/drivers/crypto/hisilicon
Yang Shen 42856f0a5a crypto: hisilicon/zip - fix the return value when device is busy
As before, when the ZIP device is too busy to creat a request, it will
return '-EBUSY'. But the crypto process think the '-EBUSY' means a
successful request and wait for its completion.

So replace '-EBUSY' with '-EAGAIN' to show crypto this request is failed.

Fixes: 62c455ca853e("crypto: hisilicon - add HiSilicon ZIP...")
Signed-off-by: Yang Shen <shenyang39@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-10-02 18:02:14 +10:00
..
hpre crypto: hisilicon/qm - fix wrong return type of 'pci_get_drvdata' 2020-09-25 17:48:53 +10:00
sec crypto: drivers - set the flag CRYPTO_ALG_ALLOCATES_MEMORY 2020-07-16 21:49:10 +10:00
sec2 crypto: hisilicon/qm - fix wrong return type of 'pci_get_drvdata' 2020-09-25 17:48:53 +10:00
zip crypto: hisilicon/zip - fix the return value when device is busy 2020-10-02 18:02:14 +10:00
Kconfig crypto: hisilicon/qm - add more ACPI dependencies 2020-04-22 23:28:55 +10:00
Makefile crypto: hisilicon - add HiSilicon SEC V2 driver 2019-11-22 18:48:36 +08:00
qm.c crypto: hisilicon/qm - remove the update of flags 2020-09-25 17:48:53 +10:00
qm.h crypto: hisilicon - update mininum queue 2020-09-18 17:20:11 +10:00
sgl.c crypto: hisilicon - Cap block size at 2^31 2020-06-15 17:38:53 +10:00