op_power: add rtc reload on resume
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 17 Oct 2013 22:37:40 +0000 (01:37 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Thu, 17 Oct 2013 22:37:40 +0000 (01:37 +0300)
recipes/pandora-system/pandora-scripts-wifi.bb
recipes/pandora-system/pandora-scripts.bb
recipes/pandora-system/pandora-scripts/op_power.sh

index 75b54ab..0c93372 100644 (file)
@@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 
 RDEPENDS = "pandora-scripts"
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI = " \
           file://op_wifi.sh \
index aa925e1..c410dda 100644 (file)
@@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 
 RDEPENDS = "bash sed gawk grep zenity"
 
-PR = "r147"
+PR = "r148"
 
 SRC_URI = " \
           file://op_paths.sh \
index f6e3fee..461ecb3 100644 (file)
@@ -217,6 +217,10 @@ Please do not remove SD cards while pandora is suspended, doing so will corrupt
                done
        fi
 
+       # it has been reported that time sometimes drifts during suspend
+       # so we reload hwclock here (WizardStan)
+       hwclock -u -s
+
        display_on
        resume_net
        echo $highpow > /sys/class/leds/pandora\:\:power/brightness