Home
last modified time | relevance | path

Searched hist:ff810720 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/crypto/
H A Domap-aes.cff810720 Fri Nov 13 07:17:28 CST 2020 Zhang Qilong <zhangqilong3@huawei.com> 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: f7b2b5dd6a62a ("crypto: omap-aes - add error check for pm_runtime_get_sync")
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>