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)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 2 Jun 2016 21:24:40 +0000 (23:24 +0200)
commit388612baba201bdcedfa66782f524dcc507d9f12
tree2c9750d1b891b7527b0fd9692bc50fe613c27bc2
parent9a15fb2c797a15524e63eacb10bd6cd68a99e830
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.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c