]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Wed, 18 Jan 2023 10:41:27 +0000 (11:41 +0100)
commitfbb82705776850eec906a4583f26c7e54c1bd4b1
tree7a3a303e22272427a3d2bda748738db8c244a50d
parent8cf93bd29eb683985757be115ee78cd241f22020
HSI: omap_ssi_core: fix unbalanced pm_runtime_disable()

[ Upstream commit 6c68109607e832c7882c3597054b8544f8f15670 ]

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: 89e89c8124a2 ("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