]> git.ipfire.org Git - thirdparty/kernel/stable.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>
Sat, 7 Jan 2023 11:07:27 +0000 (12:07 +0100)
commit8a502dfab2b08f45824e67274b93dce261fc8b72
tree13e28667d621e56337e29ab57f0630ab43507b94
parent8a62bc1c9a5f0a022e94ecda77bda241d1a8e8c1
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