diff options
author | Li Fei <fei.li@intel.com> | 2013-02-28 15:37:11 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-01 14:54:16 +0800 |
commit | 283189d3be56aa6db6f192bb255df68493cd79ac (patch) | |
tree | f59b3424585aa8e4383626df29486127826b63be /mm/page_isolation.c | |
parent | a2b37efc4e2aa76a5be29bbde8a2cd1c9c9066bc (diff) |
regmap: irq: call pm_runtime_put in pm_runtime_get_sync failed case
Even in failed case of pm_runtime_get_sync, the usage_count
is incremented. In order to keep the usage_count with correct
value and runtime power management to behave correctly, call
pm_runtime_put(_sync) in such case.
Signed-off-by Liu Chuansheng <chuansheng.liu@intel.com>
Signed-off-by: Li Fei <fei.li@intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'mm/page_isolation.c')
0 files changed, 0 insertions, 0 deletions