Skip to content
Commit 5c3a8a66 authored by Dinghao Liu's avatar Dinghao Liu Committed by Herbert Xu
Browse files

crypto: sun8i-ce - Fix runtime PM imbalance in sun8i_ce_cipher_init



pm_runtime_get_sync() increments the runtime PM usage counter even
the call returns an error code. Thus a corresponding decrement is
needed on the error handling path to keep the counter balanced.

Fix this by adding the missed function call.

Signed-off-by: default avatarDinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent f9490708
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment