On Thu, 2 Jun 2011, Kevin Hilman wrote: > OK. I was trying to catch that by checking pm_runtime_suspended(), but > now see that that cannot work in general. > > The problem I'm trying to solve is how (or whether) I can use runtime PM > from the system PM methods, specifically in the case where runtime PM > has been disabled from userspace (or pm_runtime_forbid() has been > called.) > > In a nutshell, what I'm after is for any pm_runtime_forbid() calls to be > cancelled during system PM, thus allowing pending runtime PM events to > occur during system PM. There are a few approaches that might do what you want. But I'd like to hear Rafael's opinion before making any suggestions. Alan Stern _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm