commit | 920bef64cc5fa0e955be357bfc876179729df216 | [log] [tgz] |
---|---|---|
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | Wed May 27 10:46:22 2020 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed May 27 14:48:54 2020 +0100 |
tree | 3ca8d61b53715a1274f6da4c47c237036f29c879 | |
parent | 53865b3259554389e40aeead392151c819b52a71 [diff] |
ASoC: wm8962: 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> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20200527024625.9937-1-dinghao.liu@zju.edu.cn Signed-off-by: Mark Brown <broonie@kernel.org>