linux-stable/drivers/opp
Viresh Kumar a1ea1fb46f OPP: Use opp_table->regulators to verify no regulator case
[ Upstream commit 90e3577b5f ]

The value of opp_table->regulator_count is not very consistent right now
and it may end up being 0 while we do have a "opp-microvolt" property in
the OPP table. It was kept that way as we used to check if any
regulators are set with the OPP core for a device or not using value of
regulator_count.

Lets use opp_table->regulators for that purpose as the meaning of
regulator_count is going to change in the later patches.

Reported-by: Quentin Perret <quentin.perret@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-02-12 19:47:08 +01:00
..
core.c OPP: Use opp_table->regulators to verify no regulator case 2019-02-12 19:47:08 +01:00
cpu.c opp: cpu: Replace GFP_ATOMIC with GFP_KERNEL in dev_pm_opp_init_cpufreq_table 2018-02-12 15:07:46 +05:30
debugfs.c PM / OPP: "opp-hz" is optional for power domains 2018-05-09 10:15:18 +05:30
Kconfig
Makefile PM / OPP: Add ti-opp-supply driver 2017-12-17 19:17:44 +01:00
of.c OPP: Free OPP table properly on performance state irregularities 2018-11-13 11:08:39 -08:00
opp.h PM / OPP: Remove dev_pm_opp_{un}register_get_pstate_helper() 2018-05-09 10:15:21 +05:30
ti-opp-supply.c opp: ti-opp-supply: Correct the supply in _get_optimal_vdd_voltage call 2018-12-01 09:37:27 +01:00