git.openpandora.org
/
openpandora.oe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54878ec
)
pandora-state: increase audio pm and dirty_expire delays
author
Grazvydas Ignotas
<notasas@gmail.com>
Sat, 12 May 2012 17:42:03 +0000
(20:42 +0300)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Sat, 12 May 2012 17:42:03 +0000
(20:42 +0300)
recipes/pandora-system/pandora-state.bb
patch
|
blob
|
history
recipes/pandora-system/pandora-state/dirty_expire_centisecs
patch
|
blob
|
history
recipes/pandora-system/pandora-state/rc.pandora-state
patch
|
blob
|
history
diff --git
a/recipes/pandora-system/pandora-state.bb
b/recipes/pandora-system/pandora-state.bb
index
8542f62
..
b7027c5
100755
(executable)
--- a/
recipes/pandora-system/pandora-state.bb
+++ b/
recipes/pandora-system/pandora-state.bb
@@
-5,7
+5,7
@@
COMPATIBLE_MACHINE = "omap3-pandora"
RDEPENDS = "pandora-scripts"
-PR = "r
9
"
+PR = "r
10
"
inherit update-rc.d
INITSCRIPT_NAME = "pandora-state"
diff --git
a/recipes/pandora-system/pandora-state/dirty_expire_centisecs
b/recipes/pandora-system/pandora-state/dirty_expire_centisecs
index
5113faf
..
d157d28
100644
(file)
--- a/
recipes/pandora-system/pandora-state/dirty_expire_centisecs
+++ b/
recipes/pandora-system/pandora-state/dirty_expire_centisecs
@@
-1
+1
@@
-20
+20
0
diff --git
a/recipes/pandora-system/pandora-state/rc.pandora-state
b/recipes/pandora-system/pandora-state/rc.pandora-state
index
e5729fc
..
c1a1f98
100644
(file)
--- a/
recipes/pandora-system/pandora-state/rc.pandora-state
+++ b/
recipes/pandora-system/pandora-state/rc.pandora-state
@@
-73,6
+73,11
@@
d_start() {
echo "Enabling ZRAM Swap"
mkswap /dev/zram0
swapon -p 5 /dev/zram0
+
+ # set audio powerdown delay (ms)
+ if [ -e /sys/devices/platform/soc-audio/PCM1773/pmdown_time ]; then
+ echo 60000 > /sys/devices/platform/soc-audio/PCM1773/pmdown_time
+ fi
}
case "$1" in