commit | 65bd91dd6957390c42a0491b9622cf31a2cdb140 | [log] [tgz] |
---|---|---|
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | Fri May 29 09:22:28 2020 +0800 |
committer | Mark Brown <broonie@kernel.org> | Fri May 29 13:30:04 2020 +0100 |
tree | 0bdca9b2c17c3a3c495a4ca04502e6004bbfc462 | |
parent | 4a0434502191347ba8f99468f2fb2cdddc20d381 [diff] |
ASoC: img-i2s-out: 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> Link: https://lore.kernel.org/r/20200529012230.5863-1-dinghao.liu@zju.edu.cn Signed-off-by: Mark Brown <broonie@kernel.org>