summaryrefslogtreecommitdiffstats
path: root/crypto/algif_skcipher.c
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2020-05-28 15:21:04 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2020-06-15 17:38:53 +1000
commit95459261c99f1621d90bc628c2a48e60b7cf9a88 (patch)
tree4c26bef401b33a653e71b69251a8a67ab741c057 /crypto/algif_skcipher.c
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff)
downloadlinux-95459261c99f1621d90bc628c2a48e60b7cf9a88.tar.bz2
hwrng: ks-sa - Fix runtime PM imbalance on error
pm_runtime_get_sync() increments the runtime PM usage counter even the call returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Reviewed-by: Alexander Sverdlin <alexander.sverdlin@nokia.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algif_skcipher.c')
0 files changed, 0 insertions, 0 deletions