The suspend and resume is working properly on my AM335x device running the TI_Android_JB_4.2.2_DevKit_4.1.1 release, but there is a very long delay when going to suspend as below:
[ 4382.906555] request_suspend_state: sleep (0->3) at 4178595558776 (2014-01-08 15:51:54.565420877 UTC) [ 4425.124237] PM: Syncing filesystems ... done. [ 4425.201965] Freezing user space processes ... (elapsed 0.01 seconds) done. [ 4425.224212] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Almost 40 seconds passed before the device actually started to suspend. I don't have any other information to know if Android is keeping the system alive on purpose or if this indicates something not working properly.
Is there something that I can do to avoid this delay?