diff options
author | Andrew-sh.Cheng | 2019-08-13 21:31:46 +0800 |
---|---|---|
committer | Viresh Kumar | 2019-08-22 11:31:04 +0530 |
commit | dce0bb84a73bac8a5bf3ad54e922215b61350481 (patch) | |
tree | 98706e22372d2abb491bc5a8ff920596ba5f2e22 /drivers/cpufreq | |
parent | 75c000c4bcbe2b0eb82baf90c7dd75c7380cc3fd (diff) |
cpufreq: mediatek: change to regulator_get_optional
For new mediatek chip mt8183,
cci and little cluster share the same buck,
so need to modify the attribute of regulator from exclusive to optional
Signed-off-by: Andrew-sh.Cheng <andrew-sh.cheng@mediatek.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/mediatek-cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/mediatek-cpufreq.c b/drivers/cpufreq/mediatek-cpufreq.c index 10bc06f5dd45..42bc4c9044f6 100644 --- a/drivers/cpufreq/mediatek-cpufreq.c +++ b/drivers/cpufreq/mediatek-cpufreq.c @@ -338,7 +338,7 @@ static int mtk_cpu_dvfs_info_init(struct mtk_cpu_dvfs_info *info, int cpu) goto out_free_resources; } - proc_reg = regulator_get_exclusive(cpu_dev, "proc"); + proc_reg = regulator_get_optional(cpu_dev, "proc"); if (IS_ERR(proc_reg)) { if (PTR_ERR(proc_reg) == -EPROBE_DEFER) pr_warn("proc regulator for cpu%d not ready, retry.\n", |