Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e1d46d30 authored by Junjie Mao's avatar Junjie Mao Committed by Mark Brown
Browse files

ASoC: Intel: 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: default avatarJunjie Mao <junjie.mao@enight.me>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c9b1e834
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