Merge "init.qcom.post_boot: Enable low power modes for 8952"

This commit is contained in:
Linux Build Service Account 2015-07-26 00:20:14 -07:00 committed by Gerrit - the friendly Code Review server
commit c4606a097e
1 changed files with 19 additions and 0 deletions

View File

@ -335,6 +335,25 @@ case "$target" in
;;
esac
case "$target" in
"msm8952")
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
"264" | "289")
# Enable low power modes
echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled
;;
esac
;;
esac
case "$target" in
"msm8916")
if [ -f /sys/devices/soc0/soc_id ]; then