]> git.baikalelectronics.ru Git - kernel.git/commit
Fix PM disable depth imbalance in stm32 probe
authorMark Brown <broonie@kernel.org>
Tue, 27 Sep 2022 18:58:57 +0000 (19:58 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 27 Sep 2022 18:58:57 +0000 (19:58 +0100)
commitb98f2cd8df06916c8d9efa0a82b5266c0a7bae13
treedcb3aa2ea642d0e7bc5fd9e16a026ff126280a34
parentd0495f21f821b137760cb3464af2f29755fce598
parent6c0e469190d96bba581f69e8d211cd3c10042765
Fix PM disable depth imbalance in stm32 probe

Merge series from Zhang Qilong <zhangqilong3@huawei.com>:

The pm_runtime_enable will increase power disable depth. Thus
a pairing decrement is needed on the error handling path to
keep it balanced. We fix it by moving pm_runtime_enable to the
endding of probe.