device: common: Enable host based touch processing for MSM8937

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

Change-Id: I41fe6d6c57350ff362b387fb49e25629ae72a666
This commit is contained in:
Abinaya P 2015-10-30 22:18:22 +05:30 committed by Shantanu Jain
parent e65334f85a
commit 1146de1b54
1 changed files with 22 additions and 0 deletions

View File

@ -1018,8 +1018,30 @@ case "$target" in
else
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
"295")
case "$hw_platform" in
"MTP" | "Surf" | "RCM" )
# Enable Host based Touch processing
start hbtp
;;
esac
;;
"294" )
case "$hw_platform" in
"MTP" | "Surf" | "RCM" )
# Enable Host based Touch processing
start hbtp
;;
esac
# Apply Scheduler and Governor settings for 8937
# HMP scheduler settings