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)
commite0df59de670b48a923246fae1f972317b84b2764
tree8a449e6404c277d65197e0e4f042b1ac688c13f6
parent47efcbcb340cca5d3b3d515964f09e1fec599a29
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