[android-kernel] Re: Problem in suspending Wifi driver due to userspace process freeze during suspend sequence

2012-01-05 Thread raji
Hi Sunil, Think you might have already resolved the issue stated above. I have just started to work on Power management side for one of the devices for Android and joined this group.Came across this while i was browsing reagarding the suspend flow for Android devices. w.r.t to "1) Freezing Ta

[android-kernel] Re: Problem in suspending Wifi driver due to userspace process freeze during suspend sequence

2011-09-19 Thread Sunil Pillai
> 1) Freezing Tasks [enter_state() calls suspend_prepare() which calls > suspend_freeze_processes()] I guess you have miss read my statement above. The text in the square brackets says the same, suspend prepare in fact triggers the freezing of processes. I've just put the flow in the brackets in

Re: [android-kernel] Re: Problem in suspending Wifi driver due to userspace process freeze during suspend sequence

2011-09-19 Thread Pavan Savoy
On Mon, Sep 19, 2011 at 10:14 AM, Sunil Pillai wrote: > > Hi Pavan, > > Usual Linux PM would follow the below steps: > 1) Freezing Tasks [enter_state() calls suspend_prepare() which calls > suspend_freeze_processes()] Stopping you right here, Because of the answer, PM_SUSPEND_PREPARE is before th

[android-kernel] Re: Problem in suspending Wifi driver due to userspace process freeze during suspend sequence

2011-09-19 Thread Sunil Pillai
Hi Pavan, Usual Linux PM would follow the below steps: 1) Freezing Tasks [enter_state() calls suspend_prepare() which calls suspend_freeze_processes()] 2) each driver's suspend routine is then invoked (In this case wifi driver's suspend gets called here) 3) This is followed by calling device susp