]> git.openpandora.org Git - openpandora.oe.git/commitdiff
op_power.sh: fix accidentally dropped cpu clock save
authorGrazvydas Ignotas <notasas@gmail.com>
Wed, 15 Feb 2012 14:05:18 +0000 (16:05 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Wed, 15 Feb 2012 14:05:18 +0000 (16:05 +0200)
recipes/pandora-system/pandora-scripts.bb
recipes/pandora-system/pandora-scripts/op_power.sh

index fda4b53a6eee088ad2129a0e78960424d6245aed..46269c4b841e361da22c5e894488568ecbfd6c40 100644 (file)
@@ -6,7 +6,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 DEPENDS = "zenity dbus"
 RDEPENDS = "zenity dbus"
 
-PR = "r81"
+PR = "r82"
 
 SRC_URI = " \
           file://op_paths.sh \
index 5cee08c8fe9d1575b0fd4f224dd0d8754da23ec4..487056f31276ac38bdd4eb51cc2f2849e07972ba 100644 (file)
@@ -91,6 +91,8 @@ lowPowerOn(){ #switch from normal to lowpower mode
        done
 
        suspend_net
+
+       cat /proc/pandora/cpu_mhz_max > /tmp/oldspeed
        /usr/pandora/scripts/op_cpuspeed.sh 125
 }