* cpu cpu0: dev_pm_opp_get_max_volt_latency: Invalid regulator (-6)
@ 2016-05-04 13:06 Mason
2016-05-04 13:20 ` Viresh Kumar
0 siblings, 1 reply; 2+ messages in thread
From: Mason @ 2016-05-04 13:06 UTC (permalink / raw)
To: linux-pm, Viresh Kumar
Cc: Rafael J. Wysocki, Nishanth Menon, Stephen Boyd, Sebastian Frias
Hello,
I'm using next-20160428
I've enabled the generic cpufreq-dt driver.
I'm hitting this dev_err in drivers/base/power/opp/core.c
reg = opp_table->regulator;
if (IS_ERR(reg)) {
/* Regulator may not be required for device */
if (reg)
dev_err(dev, "%s: Invalid regulator (%ld)\n", __func__, PTR_ERR(reg));
Apparent call stack:
dev_pm_opp_get_max_volt_latency()
dev_pm_opp_get_max_transition_latency()
cpufreq_init()
Relevant commit
655c9df961751 PM / OPP: Introduce dev_pm_opp_get_max_volt_latency()
My platform's DT
cpu0: cpu@0 {
compatible = "arm,cortex-a9";
next-level-cache = <&l2cc>;
device_type = "cpu";
reg = <0>;
clocks = <&clkgen CPU_CLK>;
clock-latency = <1>;
operating-points = <1215000 0 607500 0 405000 0 243000 0 135000 0>;
};
(My platform does not support voltage scaling.)
Is this error relevant to my platform? (I don't think so.)
Is there a way to mute the error on my platform?
Regards.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: cpu cpu0: dev_pm_opp_get_max_volt_latency: Invalid regulator (-6)
2016-05-04 13:06 cpu cpu0: dev_pm_opp_get_max_volt_latency: Invalid regulator (-6) Mason
@ 2016-05-04 13:20 ` Viresh Kumar
0 siblings, 0 replies; 2+ messages in thread
From: Viresh Kumar @ 2016-05-04 13:20 UTC (permalink / raw)
To: Mason
Cc: linux-pm, Rafael J. Wysocki, Nishanth Menon, Stephen Boyd,
Sebastian Frias
On 04-05-16, 15:06, Mason wrote:
> Hello,
>
> I'm using next-20160428
>
> I've enabled the generic cpufreq-dt driver.
>
> I'm hitting this dev_err in drivers/base/power/opp/core.c
>
> reg = opp_table->regulator;
> if (IS_ERR(reg)) {
> /* Regulator may not be required for device */
> if (reg)
> dev_err(dev, "%s: Invalid regulator (%ld)\n", __func__, PTR_ERR(reg));
This check is always going to pass and looks stupid, yeah I wrote it :)
Sent a separate patch to get it fixed.
--
viresh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-04 13:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-04 13:06 cpu cpu0: dev_pm_opp_get_max_volt_latency: Invalid regulator (-6) Mason
2016-05-04 13:20 ` Viresh Kumar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.