summaryrefslogtreecommitdiffstats
path: root/lib/test_stackinit.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2021-01-21 12:38:13 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2021-02-02 10:28:01 +0530
commit35e74b2ee8ec64da6f8067c5b0744f16ff19915b (patch)
treef30361ba135c03a55b1f2f652b1f27778b0ccdb2 /lib/test_stackinit.c
parent3f62670fcca4af3fe6492100a548603831ecc61d (diff)
downloadlinux-35e74b2ee8ec64da6f8067c5b0744f16ff19915b.tar.bz2
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 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions