diff options
author | Junjie Mao <junjie.mao@enight.me> | 2015-07-17 10:29:00 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-14 17:41:21 +0100 |
commit | e1d46d30d133e7909e7dde06a4e867225c7e079b (patch) | |
tree | 7eaad75a3764e9b34ea9a97fcb21b2d1f51f9e8f /sound/soc/codecs/adau1781.c | |
parent | c9b1e834bc8decaf979344e8121e4ad1ded8dc8a (diff) | |
download | linux-stable-e1d46d30d133e7909e7dde06a4e867225c7e079b.tar.gz linux-stable-e1d46d30d133e7909e7dde06a4e867225c7e079b.tar.bz2 linux-stable-e1d46d30d133e7909e7dde06a4e867225c7e079b.zip |
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/adau1781.c')
0 files changed, 0 insertions, 0 deletions