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: NJunjie Mao <junjie.mao@enight.me> Signed-off-by: NMark Brown <broonie@kernel.org>
Showing
想要评论请 注册 或 登录