diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2022-06-03 12:31:30 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2022-07-08 08:57:51 +0300 |
commit | 1efae8d2e7775b04656eb18d0a044fbd412dab3c (patch) | |
tree | 3ca3acb0a5932abbd62ac50ff72f6a97f059d0f8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8bdac14b0cd56d9578d3112375ed8b23884c1a69 (diff) | |
download | linux-1efae8d2e7775b04656eb18d0a044fbd412dab3c.tar.xz |
OPP: Make dev_pm_opp_set_opp() independent of frequency
dev_pm_opp_set_opp() can be called for any device, it may or may not
have a frequency value associated with it.
If a frequency value isn't available, we pass 0 to _set_opp(). Make it
optional instead by making _set_opp() accept a pointer instead, as the
frequency value is anyway available in the OPP. This makes
dev_pm_opp_set_opp() and _set_opp() completely independent of any
special key value.
Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions