I have implemented early_suspend function to turnoff the lcd after
screen time out on my ARM9 board.
When the framework call the set_screen_state with 0, board "Freezing".
I have debugged, and it hangs in early_suspend.c, in function
early_suspend() at wake_unlock(main_wake_lock)
abort:
spin_lock_irqsave(&state_lock, irqflags);
if (state == SUSPEND_REQUESTED_AND_SUSPENDED)
wake_unlock(&main_wake_lock);
spin_unlock_irqrestore(&state_lock, irqflags);
when i print the lock name is "main"
If i enable the pm debug messages and printk it show initially kernel
acquires the "main" lock wake_lock(&main_wake_lock); : "main"
what is cause for board freezing after early_suspend() at wake_unlock
(&main_wake_lock); function is called.
thanks
pavan
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---