Thread (32 messages) flat view 32 messages, 3 authors, 2016-09-12
STALE3661d

[PATCH 09/10] PM / Domains: Store the provider in the PM domain structure

From: Ulf Hansson <hidden>
Date: 2016-09-09 14:25:44
Also in: linux-pm, linux-tegra

[...]
quoted
I also think you should extend this change, to also make the
of_genpd_del_provider() API to reset the genpd->provider = NULL.
Otherwise you can't track when a provider is removed.
Unfortunately that is not going to work. The function
of_genpd_remove_tail() (patch #10) uses the ->provider member to remove
the last domain for the given provider and of_genpd_del_provider() must
be called before hand.
Yes, of course - you are right!

Kind regards
Uffe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help