]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/opp/of.c
PM / OPP: opp-microvolt is not optional if regulators are set
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 23 May 2017 04:02:12 +0000 (09:32 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 22 Jun 2017 01:15:30 +0000 (03:15 +0200)
commit688a48b0d27000167e0450bc1243e29a560395ca
treec1cc28e5ce664efed6abad22bcda8c3b1a44d92e
parent478256bddb0323898694bd22acdf42a70d4ff024
PM / OPP: opp-microvolt is not optional if regulators are set

If dev_pm_opp_set_regulators() is called for a device and its regulators
are set in the OPP core, the OPP nodes for the device must contain the
"opp-microvolt" property, otherwise there is something wrong and we
better error out.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp/of.c