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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:14:32 +0000 (13:14 +0100)
commitc5f729d3d61d94335295bc53aa18d1c936844c09
tree04b952226a29ee2c60db1a9a4d6d7289e6dd82f4
parentea37831f8332a486bc05df44e24e58fb5f6995e9
HSI: omap_ssi_core: fix unbalanced pm_runtime_disable()

[ Upstream commit f5181c35ed7ba0ceb6e42872aad1334d994b0175 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hsi/controllers/omap_ssi_core.c