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