PM / OPP: Disable OPPs that aren't supported by the regulator
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 9 Feb 2016 05:00:34 +0000 (10:30 +0530)
committerAlex Shi <alex.shi@linaro.org>
Fri, 8 Apr 2016 03:24:24 +0000 (11:24 +0800)
commitc3fae6d33a5d32c439938410cbb1e89d8a70d918
tree175e3c506cc80dc74d51d9476a8411a20f46813c
parentc070696dd69afe9d5432fde66270d29e36da8da2
PM / OPP: Disable OPPs that aren't supported by the regulator

Disable any OPPs where the connected regulator isn't able to provide the
specified voltage.

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>
(cherry picked from commit 7d34d56ef3349cd5f29cf7aab6650f3414fa81b9)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
drivers/base/power/opp/core.c