Fix a timing issue about suspend preparation
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 6 Apr 2022 07:29:39 +0000 (16:29 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 6 Apr 2022 07:44:43 +0000 (16:44 +0900)
commit047ff005b35fa6425403cfc71e8cf864f437fc88
tree85847b2bde43ebb7030bc461d5b12c1afdd8848b
parent2bb766da5bff3d22baef2c26b495f052e579b4b2
Fix a timing issue about suspend preparation

Currently, AMD sends a suspend event to the process after executing an
application. In this time, the AUL socket of the executed process is not
prepared. It makes an issue about AMD latency. This patch uses g_timeout_add()
instead of g_idle_add().

Change-Id: Ia8dd6b56f8130726f34a302cee89ddecba5beaf8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/lib/amd_launch.c