UPSTREAM: cpufreq: Send START policy notification after sending CREATE
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 24 May 2016 04:56:50 +0000 (10:26 +0530)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 26 Dec 2016 09:46:23 +0000 (17:46 +0800)
commit2cfe35d495f85ff1e9ecc52e6ef5b7b2968ba5f3
treecc839aa3950359afdcc44a14f4a7a4cf2f94187d
parent7ac7e477b611a6a329a2821192e26238bb5ac501
UPSTREAM: cpufreq: Send START policy notification after sending CREATE

The sequence got a bit wrong as we are sending CPUFREQ_START
notifications even before we have sent CPUFREQ_CREATE_POLICY.

Fix it.

Change-Id: I7d1fba317314bb5e5601b1354494398def156424
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
(cherry picked from commit 388612baba201bdcedfa66782f524dcc507d9f12)
drivers/cpufreq/cpufreq.c