[PATCH] ASoC: wm8962: Fix runtime PM imbalance on error
Charles Keepax
ckeepax at opensource.cirrus.com
Wed May 27 10:27:55 CEST 2020
On Wed, May 27, 2020 at 10:46:22AM +0800, Dinghao Liu wrote:
> 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 at zju.edu.cn>
> ---
Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>
Thanks,
Charles
More information about the Alsa-devel
mailing list