Home
last modified time | relevance | path

Searched hist:"35 e74b2ee8ec64da6f8067c5b0744f16ff19915b" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/opp/
H A Dcore.cdiff 35e74b2ee8ec64da6f8067c5b0744f16ff19915b Thu Jan 21 01:08:13 CST 2021 Viresh Kumar <viresh.kumar@linaro.org> 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>