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

Ulf Hansson ulf.hansson at linaro.org
Fri Sep 9 07:25:44 PDT 2016


[...]

>>
>> 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



More information about the linux-arm-kernel mailing list