device: common: Enable host based touch processing for MSMTITANIUM

This enables host based touch processing for MSMTITANIUM MTP, CDP
and RCM.

Change-Id: I2c359ed03c6e187b319e9af6d32441f83cae49f4
This commit is contained in:
Abinaya P 2016-01-06 10:34:45 +05:30
parent 01f0245efc
commit 6ed6449ee7
1 changed files with 14 additions and 0 deletions

View File

@ -1071,8 +1071,22 @@ case "$target" in
soc_id=`cat /sys/devices/system/soc/soc0/id`
fi
if [ -f /sys/devices/soc0/hw_platform ]; then
hw_platform=`cat /sys/devices/soc0/hw_platform`
else
hw_platform=`cat /sys/devices/system/soc/soc0/hw_platform`
fi
case "$soc_id" in
"293" | "304" )
# Start Host based Touch processing
case "$hw_platform" in
"MTP" | "Surf" | "RCM" )
start hbtp
;;
esac
#scheduler settings
echo 3 > /proc/sys/kernel/sched_window_stats_policy
echo 3 > /proc/sys/kernel/sched_ravg_hist_size