ASoC: wm8997: Revert "ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe"
authorZhang Qilong <zhangqilong3@huawei.com>
Mon, 10 Oct 2022 11:48:52 +0000 (19:48 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 10 Oct 2022 12:01:12 +0000 (13:01 +0100)
commit68ce83e3bb26feba0fcdd59667fde942b3a600a1
treea47ea3b45188cce04130de31c2d74ecd4bdb6d96
parent7d4e966f4cd73ff69bf06934e8e14a33fb7ef447
ASoC: wm8997: Revert "ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe"

This reverts commit 41a736ac20602f64773e80f0f5b32cde1830a44a.

The pm_runtime_disable is redundant when error returns in
wm8997_probe, we just revert the old patch to fix it.

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20221010114852.88127-4-zhangqilong3@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8997.c