[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHCN7xL3h4r3eTmJj_+jEy0NPwkPfP8qjLpuNjjoKQkq9gqdow@mail.gmail.com>
Date: Fri, 8 Nov 2019 15:23:32 -0600
From: Adam Ford <aford173@...il.com>
To: Tony Lindgren <tony@...mide.com>
Cc: Linux-OMAP <linux-omap@...r.kernel.org>,
"H. Nikolaus Schaller" <hns@...delico.com>,
Adam Ford <adam.ford@...icpd.com>,
Eduardo Valentin <edubezval@...il.com>,
Keerthy <j-keerthy@...com>, Zhang Rui <rui.zhang@...el.com>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Amit Kucheria <amit.kucheria@...durent.com>,
linux-pm@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] thermal: ti-soc-thermal: Enable addition power management
On Fri, Nov 8, 2019 at 3:17 PM Tony Lindgren <tony@...mide.com> wrote:
>
> * Adam Ford <aford173@...il.com> [191108 21:00]:
> > +static int bandgap_omap_cpu_notifier(struct notifier_block *nb,
> > + unsigned long cmd, void *v);
> >
> > /*** Helper functions to access registers and their bitfields ***/
> >
> > @@ -1025,6 +1033,9 @@ int ti_bandgap_probe(struct platform_device *pdev)
> > }
> > }
> >
> > + bgp->nb.notifier_call = bandgap_omap_cpu_notifier;
> > + cpu_pm_register_notifier(&bgp->nb);
> > +
>
> Hmm looks like you're missing the related call to
> cpu_pm_unregister_notifier(), right?
Good catch. I'm new to this PM stuff. :-)
>
> Other than that, it also works on droid4, so please
> feel free to add:
Awesome!
>
> Reviewed-by: Tony Lindgren <tony@...mide.com>
> Tested-by: Tony Lindgren <tony@...mide.com>
Thank you. I have already resent V2
adam
>
Powered by blists - more mailing lists