rk3188: plus: add adjust dvfs table support
authorchenxing <chenxing@rock-chips.com>
Tue, 9 Jul 2013 01:40:02 +0000 (09:40 +0800)
committerchenxing <chenxing@rock-chips.com>
Tue, 9 Jul 2013 01:40:02 +0000 (09:40 +0800)
arch/arm/mach-rk3188/cpufreq.c

index ba6c2ae85a3c82841719f25ea23d0de541da44f4..c8c59423fac0132c150058f095dd8f90648c7788 100644 (file)
@@ -425,7 +425,7 @@ static int rk3188_cpufreq_init_cpu0(struct cpufreq_policy *policy)
                return PTR_ERR(cpu_clk);
 
 #if defined(CONFIG_ARCH_RK3188)
-       if (soc_is_rk3188()) {
+       if (soc_is_rk3188() || soc_is_rk3188plus()) {
                struct cpufreq_frequency_table *table_adjust;
                /* Adjust dvfs table avoid overheat */
                table_adjust = dvfs_get_freq_volt_table(cpu_clk);