Hi all There are currently several functions similar to __pm_runtime_suspend() in runtime.c, working according to the same principle: they check if the RPM_GET_PUT flag is set, if so, they increment, or decrement-and-test the usage-count, then call the actual worker function, e.g., rpm_suspend(). This latter function can fail, then its return code will be passed back to the caller, but - the usage counter will not be restored. Is this a design decision or a bug? Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm