opp: Allow _set_opp() to work for non-freq devices
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 21 Jan 2021 10:30:12 +0000 (16:00 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 2 Feb 2021 04:57:58 +0000 (10:27 +0530)
commitf0b88fa45595254fa51427bd8ca321732e2eb73d
treed95995c3117f3df50deab28378b364a919001f49
parent386ba854d9f3163aed0119b167a874169410d8bc
opp: Allow _set_opp() to work for non-freq devices

The _set_opp() helper will be used for devices which don't change frequency
(like power domains, etc.) later on, prepare for that by not relying on
frequency for making decisions here.

While at it, also update the debug print to contain all relevant
information.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
drivers/opp/core.c