]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PM / devfreq: exynos-bus: Correct clock enable sequence
authorKamil Konieczny <k.konieczny@partner.samsung.com>
Wed, 7 Aug 2019 13:38:35 +0000 (15:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Oct 2019 10:30:23 +0000 (12:30 +0200)
commit4ebe3a8fd0996685985507f37da21368459944ab
tree3d6fb97b657da25b4c5da1347f21041b79087bc3
parentd1e9aa3cc387cb6afa42004574d01baab17317c0
PM / devfreq: exynos-bus: Correct clock enable sequence

[ Upstream commit 2c2b20e0da89c76759ee28c6824413ab2fa3bfc6 ]

Regulators should be enabled before clocks to avoid h/w hang. This
require change in exynos_bus_probe() to move exynos_bus_parse_of()
after exynos_bus_parent_parse_of() and change in error handling.
Similar change is needed in exynos_bus_exit() where clock should be
disabled before regulators.

Signed-off-by: Kamil Konieczny <k.konieczny@partner.samsung.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/devfreq/exynos-bus.c