diff options
author | Dmitry Osipenko | 2021-09-20 20:22:49 +0300 |
---|---|---|
committer | Viresh Kumar | 2021-10-05 09:54:39 +0530 |
commit | 4844bdbe9166bc3d194b1d20d13dc1f01d3c1bb7 (patch) | |
tree | c821575f99ac813fbcf890154f9bafe4237b12a5 /drivers/opp | |
parent | 68b79f285540842225bda8e9ded4a9b78664ed1a (diff) |
PM / devfreq: tegra30: Check whether clk_round_rate() returns zero rate
EMC clock is always-on and can't be zero. Check whether clk_round_rate()
returns zero rate and error out if it does. It can return zero if clock
tree isn't initialized properly.
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/opp')
0 files changed, 0 insertions, 0 deletions