On Tue, 15 Dec 2009, Rafael J. Wysocki wrote: > In fact, I'm not very comfortable with the current possibility to call DPM > callbacks of two or three kinds in a row for the same device, because that > means very close connection between the bus type and device type or device > class (or all three of them). Nobody does that, as far as I can tell, and I > guess nobody will. How certain are you? Do you want to add a WARN_ON to the PM core in case such a thing turns up? > Now, if we agree that only one callback will be called for given device > (either bus type, or device type, or device class), the code may be simpler > and there won't be an issue with the ordering in _idle. That would be perfectly fine with me. Alan Stern _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm