On Wed, Jun 8, 2016 at 12:25 PM, Marek Szyprowski
<m.szyprowski@xxxxxxxxxxx> wrote:
From: Krzysztof Kozlowski<k.kozlowski@xxxxxxxxxxx>No, this is not the right way to address this and using notifiers for
Allow drivers registering for certain runtime PM events of other
devices. Some drivers in power domain are more or less coupled. When one
driver is suspending (thus leading to power domain being also turned
off) the other might have to perform some necessary steps. For example
Exynos IOMMU has to save its context.
Based on previous work of Sylwester Nawrocki<s.nawrocki@xxxxxxxxxxx>.
Signed-off-by: Krzysztof Kozlowski<k.kozlowski@xxxxxxxxxxx>
Signed-off-by: Marek Szyprowski<m.szyprowski@xxxxxxxxxxx>
that is just wrong (because of the potential ordering issues).
Also, the problem is not limited to runtime PM, but also to system
suspend/resume and initialization/shutdown.
I posted a series of device dependencies patches a few months ago that
might help to address this problem, but there was almost no interest
in it at that time.