Files
android_kernel_xiaomi_sm8450/arch/arm/mach-omap2
Tony Lindgren ffa6f08be1 ARM: OMAP2+: Block suspend for am3 and am4 if PM is not configured
[ Upstream commit 093a474ce10d8ea3db3ef2922aca5a38f34bab1b ]

If the PM related modules are not loaded and PM firmware not configured,
the system suspend fails to resume. Let's fix this by adding initial
platform_suspend_ops to block suspend and warn about missing modules.

When pm33xx and wkup_m3_ipc have been loaded and m3 coprocessor booted
with it's firmware, pm33xx sets up working platform_suspend_ops. Note
that we need to configure at least PM_SUSPEND_STANDBY to have
suspend_set_ops().

Cc: Dave Gerlach <d-gerlach@ti.com>
Cc: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-25 14:36:15 +02:00
..
2020-08-23 17:36:59 -05:00
2015-07-16 00:06:05 -07:00
2020-09-24 14:26:20 +03:00
2020-09-24 14:26:20 +03:00
2020-04-21 09:41:53 -07:00