MLK-9777 cpufreq: imx6: fix the high bus count mismatch
authorBai Ping <b51503@freescale.com>
Fri, 31 Oct 2014 08:28:03 +0000 (16:28 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:39 +0000 (14:48 -0500)
commitd37fe4a81c9c08265d4ead1e30ceb0d770557d44
tree0e2a51d4677b99fad58ce0abc6310a10cdc5e582
parent0c129441c2f3dec0a6e4c68dccf992535f0e9eca
MLK-9777 cpufreq: imx6: fix the high bus count mismatch

Normally, the system is booting up with higher cpufreq. In the
cpufreq set_target_index we will release the high bus mode if
the target cpu frequency is the lowest. It will release the high
bus mode and dcrease the high_bus_count.This will lead to a wrong
release of high bus mode. So, in the cpufreq_init function, if the
original frequency is not the lowest, we need request high busfreq.

Signed-off-by: Bai Ping <b51503@freescale.com>
(cherry picked from commit 7df8887a6ddac148d33cd583da31ec72d0ba07da)
drivers/cpufreq/imx6q-cpufreq.c