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:
parent
01f0245efc
commit
6ed6449ee7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue