diff options
author | Junjie Mao <junjie.mao@enight.me> | 2015-07-17 05:29:00 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-14 19:41:21 +0300 |
commit | e1d46d30d133e7909e7dde06a4e867225c7e079b (patch) | |
tree | 7eaad75a3764e9b34ea9a97fcb21b2d1f51f9e8f /sound/soc/codecs/wm8996.c | |
parent | c9b1e834bc8decaf979344e8121e4ad1ded8dc8a (diff) | |
download | linux-e1d46d30d133e7909e7dde06a4e867225c7e079b.tar.xz |
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: Junjie Mao <junjie.mao@enight.me>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm8996.c')
0 files changed, 0 insertions, 0 deletions