Fix PM disable depth imbalance in probe
authorMark Brown <broonie@kernel.org>
Tue, 27 Sep 2022 10:33:19 +0000 (11:33 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 27 Sep 2022 10:33:19 +0000 (11:33 +0100)
commitdd1b25ec8b2072dfe58325e13785f0dfef94b2c3
tree83d857dd1c315065dc6c5bfd0c8211778f86b2ab
parentfc13b5a25e18b0de5e04b6f5616c60d71d2610ee
parent29f65f2171c85a9633daa380df14009a365f42f2
Fix PM disable depth imbalance in probe

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

The pm_runtime_enable will increase power disable depth. Thus
a pairing decrement is needed when error returns to keep it
balanced. This series of patches fixed it in spi probe.