Sorry for the delay. On Wednesday 16 December 2009, Mahalingam, Nithish wrote: > > Shouldn't we just return success if power.runtime_status == RPM_SUSPENDED? I > > know it does not make a difference in the runtime PM core as return value for > > the idle callbacks are never checked. But what if someone wants to use idle > > callback API explicitly? In that case the return value of your _idle will depend on the caller who actually uses the return value. The PM core doesn't care. > Also I do understand returning success is not a clean solution, I am just > trying to understand what might be the right thing to in this scenario. That really depends on your bus type/ device type/ device class and the driver in question. Rafael _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm