HSI: omap_ssi_core: fix unbalanced pm_runtime_disable()
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 1 Nov 2022 03:41:18 +0000 (11:41 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 14 Nov 2022 20:45:13 +0000 (21:45 +0100)
commitf5181c35ed7ba0ceb6e42872aad1334d994b0175
tree1dad6047d4a251346d72202b44ffd160eee10aa8
parent913a144164d8f09fab7e4175d693168b29d5843b
HSI: omap_ssi_core: fix unbalanced pm_runtime_disable()

In error label 'out1' path in ssi_probe(), the pm_runtime_enable()
has not been called yet, so pm_runtime_disable() is not needed.

Fixes: b209e047bc74 ("HSI: Introduce OMAP SSI driver")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/hsi/controllers/omap_ssi_core.c