aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pm_opp.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2018-08-03 07:05:21 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2018-09-19 14:56:40 -0700
commit3d2556992a878a2210d3be498416aee39e0c32aa (patch)
tree76f9566a83f216de277434d5613efdb059f2210d /include/linux/pm_opp.h
parentOPP: Don't try to remove all OPP tables on failure (diff)
downloadlinux-dev-3d2556992a878a2210d3be498416aee39e0c32aa.tar.xz
linux-dev-3d2556992a878a2210d3be498416aee39e0c32aa.zip
OPP: Protect dev_list with opp_table lock
The dev_list needs to be protected with a lock, else we may have simultaneous access (addition/removal) to it and that would be racy. Extend scope of the opp_table lock to protect dev_list as well. Tested-by: Niklas Cassel <niklas.cassel@linaro.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'include/linux/pm_opp.h')
0 files changed, 0 insertions, 0 deletions