[RFCv2 1/2] power: domain: add pm_genpd_uninit

Ulf Hansson ulf.hansson at linaro.org
Wed Nov 11 12:33:40 PST 2015


On 11 November 2015 at 19:00, Alexander Aring <alex.aring at gmail.com> wrote:
> Hi,
>
> On Thu, Nov 05, 2015 at 03:34:45PM +0100, Alexander Aring wrote:
>>
>> What do you suggest to me for e.g. the raspberrypi power domain driver,
>> also simple ignore such error handling?
>>
>
> ping, I also can add some WARN_ON_ONCE, if the list for sub-domains,
> etc. are not empty. This would then report about wrong use of
> pm_genpd_uninit.
>
> - Alex

Sorry for the delay.

I think what you suggest would be an okay solution, at least it will
improve the current behaviour.

We should verify for sub-domains, attached devices, and if the genpd
has an of-provider. That's all I can think of right now, but there may
be other things as well.

Kind regards
Uffe



More information about the linux-arm-kernel mailing list