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