aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-08-15 19:43:44 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2021-08-16 09:42:08 +0530
commitc3ddfe66d2bb511f7fbcdc8e64952c7859e7e69d (patch)
tree4a2de9e73df3991406532a145bbcfd55f30ebd78 /samples
parentopp: remove WARN when no valid OPPs remain (diff)
downloadlinux-dev-c3ddfe66d2bb511f7fbcdc8e64952c7859e7e69d.tar.xz
linux-dev-c3ddfe66d2bb511f7fbcdc8e64952c7859e7e69d.zip
opp: Drop empty-table checks from _put functions
The current_opp is released only when whole OPP table is released, otherwise it's only marked as removed by dev_pm_opp_remove_table(). Functions like dev_pm_opp_put_clkname() and dev_pm_opp_put_supported_hw() are checking whether OPP table is empty and it's not if current_opp is set since it holds the refcount of OPP, this produces a noisy warning from these functions about busy OPP table. Remove the checks to fix it. Cc: stable@vger.kernel.org Fixes: 81c4d8a3c414 ("opp: Keep track of currently programmed OPP") Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions