Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3b36f34 authored by Stefan Wahren's avatar Stefan Wahren Committed by Alex Shi
Browse files

cpufreq: cpufreq-dt: Handle regulator_get_voltage() failure



In error cases regulator_get_voltage() returns a negative value.
So take care of it.

Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 8197bb1bffbee6a7678d20b4c1e77940cdaa8640)
Signed-off-by: default avatarAlex Shi <alex.shi@linaro.org>
parent a05aa9b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment