Merge "msm8998: Modify improve touch daemon cfg in post boot"

This commit is contained in:
Linux Build Service Account 2017-05-27 01:36:39 -07:00 committed by Gerrit - the friendly Code Review server
commit 6dd97a0e9f
1 changed files with 16 additions and 1 deletions

View File

@ -2515,12 +2515,27 @@ case "$target" in
hw_platform=`cat /sys/devices/system/soc/soc0/hw_platform`
fi
if [ -f /sys/devices/soc0/platform_version ]; then
platform_version=`cat /sys/devices/soc0/platform_version`
platform_major_version=$((10#${platform_version}>>16))
fi
case "$soc_id" in
"292") #msm8998 apq8098_latv
# Start Host based Touch processing
case "$hw_platform" in
"QRD")
case "$platform_subtype_id" in
"0")
start hbtp
;;
"16")
if [ $platform_major_version -lt 6 ]; then
start hbtp
fi
;;
esac
;;
esac
;;