diff options
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-05-27 10:46:22 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-27 14:48:54 +0100 |
commit | 920bef64cc5fa0e955be357bfc876179729df216 (patch) | |
tree | 3ca8d61b53715a1274f6da4c47c237036f29c879 /mm/z3fold.c | |
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>
Diffstat (limited to 'mm/z3fold.c')
0 files changed, 0 insertions, 0 deletions