]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon/qm - check mailbox operation result
authorWeili Qian <qianweili@huawei.com>
Sat, 27 Aug 2022 10:26:57 +0000 (18:26 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Sep 2022 10:38:06 +0000 (18:38 +0800)
commitf0fc991be6b792e5f40d0661b8af048e7573743b
tree19f6c09fbc1c15a73b845eeb7878a0daf7db1b50
parent6ca337d6a305dbe80a5b946bff015ed91949ce74
crypto: hisilicon/qm - check mailbox operation result

After the mailbox operation is complete, the result may be unsuccessful.
It needs to check the status bits of the mailbox register,
if it fails, -EIO is returned.

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