On Sat, Dec 18, 2010 at 03:59:50PM +0100, Rafael J. Wysocki wrote:
Well, the trouble is that the whole situation is already pretty
confusing for what should be very simple buses, each one needs to write
a bunch of not really bus specific code in order to get basic behaviour
which allows the drivers to make use of runtime PM, requiring more
thought and care per bus than I'd expect given that they've nothing
really to contribute. This leads to the sort of random variations
between buses that Rabin is reporting, and means that updates keep
having to get done in multiple different places.
The overall effect is that from the point of view of trying to use
runtime PM in drivers which work with these simple buses everything
feels like it's much harder work than it should be. Moving all the
decision making out of the buses and into the PM core seems like a win
here.
--