Skip to content
Snippets Groups Projects
Commit ff810720 authored by Zhang Qilong's avatar Zhang Qilong Committed by Herbert Xu
Browse files

crypto: omap-aes - Fix PM disable depth imbalance in omap_aes_probe


The pm_runtime_enable will increase power disable depth.
Thus a pairing decrement is needed on the error handling
path to keep it balanced according to context.

Fixes: f7b2b5dd ("crypto: omap-aes - add error check for pm_runtime_get_sync")
Signed-off-by: default avatarZhang Qilong <zhangqilong3@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 1dc44035
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment