Merge "init: qcom: post_boot: start hbtp_daemon with ARM solution"

This commit is contained in:
Linux Build Service Account 2014-11-13 18:57:35 -08:00 committed by Gerrit - the friendly Code Review server
commit cd80592e76
1 changed files with 19 additions and 0 deletions

View File

@ -352,6 +352,25 @@ case "$target" in
"239" | "241" | "263") "239" | "241" | "263")
echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled
echo 10 > /sys/class/net/rmnet0/queues/rx-0/rps_cpus echo 10 > /sys/class/net/rmnet0/queues/rx-0/rps_cpus
if [ -f /sys/devices/soc0/platform_subtype_id ]; then
platform_subtype_id=`cat /sys/devices/soc0/platform_subtype_id`
fi
if [ -f /sys/devices/soc0/hw_platform ]; then
hw_platform=`cat /sys/devices/soc0/hw_platform`
fi
case "$soc_id" in
"239")
case "$hw_platform" in
"Surf")
case "$platform_subtype_id" in
"1")
start hbtp
;;
esac
;;
esac
;;
esac
;; ;;
"233" | "240" | "242") "233" | "240" | "242")
echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled