diff options
author | 2021-01-21 12:38:13 +0530 | |
---|---|---|
committer | 2021-02-02 10:28:01 +0530 | |
commit | 35e74b2ee8ec64da6f8067c5b0744f16ff19915b (patch) | |
tree | f30361ba135c03a55b1f2f652b1f27778b0ccdb2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | opp: Allow _generic_set_opp_regulator() to work for non-freq devices (diff) | |
download | wireguard-linux-35e74b2ee8ec64da6f8067c5b0744f16ff19915b.tar.xz wireguard-linux-35e74b2ee8ec64da6f8067c5b0744f16ff19915b.zip |
opp: Allow _generic_set_opp_clk_only() to work for non-freq devices
In order to avoid conditional statements at the caller site, this patch
updates _generic_set_opp_clk_only() to work for devices that don't
change frequency (like power domains, etc.). Return 0 if the clk pointer
passed to this routine is not valid.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions