[Title] fix a boot-fail problem
authorSon Hyunjun <hj79.son@samsung.com>
Wed, 8 Feb 2012 06:31:05 +0000 (15:31 +0900)
committerSon Hyunjun <hj79.son@samsung.com>
Wed, 8 Feb 2012 06:31:05 +0000 (15:31 +0900)
[Type] Bugfix
[Module] Emulator / PM(Power Management)
[Priority] Major
[CQ#]
[Redmine#]
[Problem] Fail to boot at initial boot on a slow PC.
[Cause] Emulator has a wrong suspend operation.
[Solution] workaround : reject a suspend request in kernel api.

Change-Id: If23aca2d758c10e57eb24fccfd9a094e21e1adcf

kernel/power/suspend.c

index 6f10dfc2d3e9f79a0a57cd73b8a70ad2cc90d22b..7f321bc2aab6862fc78c04fddef56150a146a96e 100644 (file)
@@ -253,6 +253,9 @@ static void suspend_finish(void)
  */
 int enter_state(suspend_state_t state)
 {
+       //XXX reject a suspend request temporarily in Emulator until fix a suspend problem.
+       return 0;
+
        int error;
 
        if (!valid_state(state))