power: Relocate resuming device_notify() properly 06/289606/1
authorYoungjae Cho <y0.cho@samsung.com>
Fri, 10 Mar 2023 01:53:52 +0000 (10:53 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Fri, 10 Mar 2023 07:52:18 +0000 (16:52 +0900)
commit065f075a23ebf1dc387df715dce9efe03b5cf5ba
tree13f28ed7e37834ffa7ef064760cf4389f0474d41
parent6f5b33a6a9c1ab390565445e46089d802a469439
power: Relocate resuming device_notify() properly

The resuming notify should be broadcasted after completely finishing
wakeup transition. In other words, broadcasting should be held when a
transition is waiting for being confirmed by user program. In this
context, it is proper to relocate device_notify() to resume_echo_mem(),
which is invoked on finishing wakeup transition.

Change-Id: I0c924d5667b749f79e95f04b62c69e499ffb7058
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/power/power-suspend.c
src/power/power.c