diff options
author | Weili Qian <qianweili@huawei.com> | 2021-12-04 18:43:01 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-12-11 16:49:18 +1100 |
commit | 3f9dd4c802b96626e869b2d29c8e401dabadd23e (patch) | |
tree | bfb04fcffa8f0cc1d6022f4d49171d1e8e81b133 /arch/x86/crypto | |
parent | fed8f4d5f9469a4b59e501bf9b6dcab484c40047 (diff) | |
download | linux-3f9dd4c802b96626e869b2d29c8e401dabadd23e.tar.bz2 |
crypto: hisilicon/qm - fix incorrect return value of hisi_qm_resume()
When hisi_qm_resume() returns 0, it indicates that the device has started
successfully. If the device fails to start, hisi_qm_resume() needs to
return the actual error code to the caller instead of 0.
Fixes: d7ea53395b72 ("crypto: hisilicon - add runtime PM ops")
Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/crypto')
0 files changed, 0 insertions, 0 deletions