Promotion of android-device.lnx.1.0-00016.
CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- I1f8ea9cacabac1853a900d3c1117cfdb8511eb82 post_boot: keep low power modes disabled for msm8953 Change-Id: I7158713db59ccd244fc1490c32d20b2e08342890
This commit is contained in:
commit
7e0cbc56fb
|
@ -1045,6 +1045,25 @@ case "$target" in
|
|||
;;
|
||||
esac
|
||||
|
||||
case "$target" in
|
||||
"msm8953")
|
||||
|
||||
if [ -f /sys/devices/soc0/soc_id ]; then
|
||||
soc_id=`cat /sys/devices/soc0/soc_id`
|
||||
else
|
||||
soc_id=`cat /sys/devices/system/soc/soc0/id`
|
||||
fi
|
||||
|
||||
case "$soc_id" in
|
||||
"293")
|
||||
|
||||
# Keep low power modes Disabled
|
||||
echo 1 > /sys/module/lpm_levels/parameters/sleep_disabled
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$target" in
|
||||
"msm8937")
|
||||
|
||||
|
|
Loading…
Reference in New Issue