Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f361eb39 authored by Vincent Wang's avatar Vincent Wang Committed by Greg Kroah-Hartman
Browse files

PM / OPP: list_del_rcu should be used in function _remove_opp_dev



list_del_rcu should be used to replace list_del in function _remove_opp_dev,
since the opp is a rcu protected pointer.

Test: for example, on an ARM big.Little platform, the opp_table of big cluster
will be removed when big cluster is removed, which should be implemented in
the cpufreq driver.
Then a stress test that the big cluster is plugged in/out, can test the patch.

Change-Id: I59c0ba16d372575ff1d80097575eeea826f6df52
Signed-off-by: default avatarVincent Wang <vincent.wang@spreadtrum.com>
parent 960923fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment