diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2022-06-03 15:01:30 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2022-07-08 11:27:51 +0530 |
commit | 1efae8d2e7775b04656eb18d0a044fbd412dab3c (patch) | |
tree | 3ca3acb0a5932abbd62ac50ff72f6a97f059d0f8 /Kbuild | |
parent | 8bdac14b0cd56d9578d3112375ed8b23884c1a69 (diff) | |
download | linux-stable-1efae8d2e7775b04656eb18d0a044fbd412dab3c.tar.gz linux-stable-1efae8d2e7775b04656eb18d0a044fbd412dab3c.tar.bz2 linux-stable-1efae8d2e7775b04656eb18d0a044fbd412dab3c.zip |
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 'Kbuild')
0 files changed, 0 insertions, 0 deletions