opp: Reduce the size of critical section in _opp_kref_release()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 19 Nov 2020 05:54:32 +0000 (11:24 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 9 Dec 2020 05:51:11 +0000 (11:21 +0530)
commitcf1fac943c6341dfed1db1293864c9fcad47bac3
tree4d1d569360bc3f43968f3fc0ad24819388485086
parent9e62edac519da71bbc981e4c984fe67729b0d1f3
opp: Reduce the size of critical section in _opp_kref_release()

There is a lot of stuff here which can be done outside of the
opp_table->lock, do that. This helps avoiding a circular dependency
lockdeps around debugfs.

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