Commit 8b2b880
crypto: hisilicon/qm - fix incorrect return value of hisi_qm_resume()
[ Upstream commit 3f9dd4c ]
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: d7ea533 ("crypto: hisilicon - add runtime PM ops")
Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 5367147 commit 8b2b880
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5986 | 5986 | | |
5987 | 5987 | | |
5988 | 5988 | | |
5989 | | - | |
| 5989 | + | |
5990 | 5990 | | |
5991 | 5991 | | |
5992 | 5992 | | |
| |||
0 commit comments