diff options
author | Tony Lindgren <tony@atomide.com> | 2021-05-25 12:33:11 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2021-06-11 10:43:08 +0300 |
commit | 093a474ce10d8ea3db3ef2922aca5a38f34bab1b (patch) | |
tree | 22501eb69bdbe6cfbdaed487951bdae1bd6aeb63 /arch/csky/kernel/module.c | |
parent | a1e029b7a544897dafdaff404eec42475f60d647 (diff) |
ARM: OMAP2+: Block suspend for am3 and am4 if PM is not configured
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>
Diffstat (limited to 'arch/csky/kernel/module.c')
0 files changed, 0 insertions, 0 deletions