Skip to content

Commit ccb69e2

Browse files
mszyprowchanwoochoi
authored andcommitted
PM / devfreq: exynos: add Exynos PPMU as a soft module dependency
Commit adf8238 ("ARM: dts: exynos: move exynos-bus nodes out of soc in Exynos4412") changed the order of the exynos-bus nodes, what results in different probe order of the Exynos Bus devices. Although the driver properly handles the deferred probe and all devices seems to be finally properly registered, this change revealed some kind of a bug related to PPMU counters registration and passive governor operation. Usually in 1 of 10 boots this results in complete board freeze during loading of the kernel modules. To avoid that freeze, ensure that the Exynos PPMU driver is already loaded before the Exynos Bus driver starts probing. Signed-off-by: Marek Szyprowski <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
1 parent 4a3a2c3 commit ccb69e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/devfreq/exynos-bus.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,7 @@ static struct platform_driver exynos_bus_platdrv = {
518518
};
519519
module_platform_driver(exynos_bus_platdrv);
520520

521+
MODULE_SOFTDEP("pre: exynos_ppmu");
521522
MODULE_DESCRIPTION("Generic Exynos Bus frequency driver");
522523
MODULE_AUTHOR("Chanwoo Choi <[email protected]>");
523524
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)