All of lore.kernel.org
 help / color / mirror / Atom feed
* Questions about run time power management
@ 2010-07-22 21:23 Raj Kumar
  2010-07-23 14:26 ` Alan Stern
  0 siblings, 1 reply; 6+ messages in thread
From: Raj Kumar @ 2010-07-22 21:23 UTC (permalink / raw)
  To: linux-pm


[-- Attachment #1.1: Type: text/plain, Size: 1050 bytes --]




Hi,


I am implementing the run time power management in my drivers. So i have the following
questions:


1) I am using the work queue approach for run time power management, Now the thing is
when the device is idle and it notifies the run time power management via helper function
pm_request_idle, and at the same time if resume is done then in that case does the runtime power management
cancels the idle and does not invoke any callback like runtime_suspend of driver? 


2) like as mentioned in run time power management document, when the usage_count of device
reaches zero, is there any run time power management thread in background that will immediately suspends
the device or it is again via helper functions. It seems from the code that usage_count is zero and suspended
via helper functions. Is it correct?


3) The third question is more specific about platform bus usage? can the char device driver use platform bus?
can char device register as platform device?


Regards
raj




     
 
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 1313 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-07-28 15:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-22 21:23 Questions about run time power management Raj Kumar
2010-07-23 14:26 ` Alan Stern
2010-07-24 14:26   ` Raj Kumar
2010-07-25 15:48     ` Alan Stern
2010-07-28 11:35       ` Raj Kumar
2010-07-28 15:32         ` Alan Stern

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.