]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcea6a35070d2b313db6c8257bd4b9eaaeea4837e
tree4d1d569360bc3f43968f3fc0ad24819388485086
parentd105738d4ffcb94da8eaf1de4af0fec73186f940
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