[AML] Apply MX cpu scale hack only to MX
authorTrent Nelson <trent.nelson@pivosgroup.com>
Tue, 15 Jul 2014 09:45:51 +0000 (17:45 +0800)
committerTrent Nelson <trent.nelson@pivosgroup.com>
Fri, 18 Jul 2014 04:16:52 +0000 (12:16 +0800)
xbmc/utils/AMLUtils.cpp

index 8dc4b81..342cf97 100644 (file)
@@ -199,7 +199,7 @@ void aml_cpufreq_min(bool limit)
 
 void aml_cpufreq_max(bool limit)
 {
-  if (!aml_wired_present() && aml_get_cputype() > AML_DEVICE_TYPE_M3)
+  if (!aml_wired_present() && aml_get_cputype() == AML_DEVICE_TYPE_M6)
   {
     // this is a MX Stick, they cannot substain 1GHz
     // operation without overheating so limit them to 800MHz.