clk: qcom: clk-cpu-osm: move set policy->cpu flag to end of init
In order to circumvent a race condition where one CPU may access the
frequency table of the policy of another CPU while it's hotplugging,
move setting of the policy->cpu flag to the end of the init
osm operator after it initializes its frequency table.
Change-Id: I4b02caa4995387c16a6db8b8eb9de7271f23c2f6
Signed-off-by:
David Dai <daidavid1@codeaurora.org>
Loading
Please register or sign in to comment