diff options
Diffstat (limited to 'arch/blackfin/mach-common/cpufreq.c')
-rw-r--r-- | arch/blackfin/mach-common/cpufreq.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/blackfin/mach-common/cpufreq.c b/arch/blackfin/mach-common/cpufreq.c index 6e87dc13f6bf..c854a27cbeab 100644 --- a/arch/blackfin/mach-common/cpufreq.c +++ b/arch/blackfin/mach-common/cpufreq.c | |||
@@ -64,7 +64,8 @@ static void __init bfin_init_tables(unsigned long cclk, unsigned long sclk) | |||
64 | 64 | ||
65 | /* Anomaly 273 seems to still exist on non-BF54x w/dcache turned on */ | 65 | /* Anomaly 273 seems to still exist on non-BF54x w/dcache turned on */ |
66 | #if ANOMALY_05000273 || ANOMALY_05000274 || \ | 66 | #if ANOMALY_05000273 || ANOMALY_05000274 || \ |
67 | (!defined(CONFIG_BF54x) && defined(CONFIG_BFIN_EXTMEM_DCACHEABLE)) | 67 | (!(defined(CONFIG_BF54x) || defined(CONFIG_BF60x)) \ |
68 | && defined(CONFIG_BFIN_EXTMEM_DCACHEABLE)) | ||
68 | min_cclk = sclk * 2; | 69 | min_cclk = sclk * 2; |
69 | #else | 70 | #else |
70 | min_cclk = sclk; | 71 | min_cclk = sclk; |
@@ -173,7 +174,7 @@ static int bfin_target(struct cpufreq_policy *poli, | |||
173 | #else | 174 | #else |
174 | ret = cpu_set_cclk(cpu, freqs.new * 1000); | 175 | ret = cpu_set_cclk(cpu, freqs.new * 1000); |
175 | if (ret != 0) { | 176 | if (ret != 0) { |
176 | pr_debug("cpufreq set freq failed %d\n", ret); | 177 | WARN_ONCE(ret, "cpufreq set freq failed %d\n", ret); |
177 | break; | 178 | break; |
178 | } | 179 | } |
179 | #endif | 180 | #endif |