]> git.baikalelectronics.ru Git - kernel.git/commit
opp: Reduce the size of critical section in _opp_table_kref_release()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 22 Oct 2020 06:56:08 +0000 (12:26 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 27 Oct 2020 07:51:03 +0000 (13:21 +0530)
commit5e813ef88b7db83f4e05a535646c525c8a4c1ac2
tree8a449e6404c277d65197e0e4f042b1ac688c13f6
parent90249edb5caf74dc7e4e3af6fda0db075ffa7270
opp: Reduce the size of critical section in _opp_table_kref_release()

There is a lot of stuff here which can be done outside of the big
opp_table_lock, do that. This helps avoiding few circular dependency
lockdeps around debugfs and interconnects.

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