diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2021-08-15 19:43:44 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2021-08-16 09:42:08 +0530 |
commit | c3ddfe66d2bb511f7fbcdc8e64952c7859e7e69d (patch) | |
tree | 4a2de9e73df3991406532a145bbcfd55f30ebd78 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 335ffab3ef864539e814b9a2903b0ae420c1c067 (diff) |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions