PM / devfreq: exynos-bus: Suspend all devices on system shutdown
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 21 Mar 2019 09:01:10 +0000 (10:01 +0100)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 16 Apr 2019 00:29:18 +0000 (09:29 +0900)
commitfbb9c3c9a5acfdbcc21114de0ba16c7b488968f6
treedc9d2e44ead697f61db8e35b32dca765166fb66f
parentb53b0128052ffd687797d5f4deeb76327e7b5711
PM / devfreq: exynos-bus: Suspend all devices on system shutdown

Force all Exynos buses to safe operation points before doing the system
reboot operation. There are board on which some aggressive power saving
operation points are behind the capabilities of the bootloader to properly
reset the hardware and boot the board. This way one can avoid board crash
early after reboot.

This fixes reboot issue on OdroidU3 board both with eMMC and SD boot.

Reported-by: Markus Reichl <m.reichl@fivetechno.de>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/exynos-bus.c