taimen: disable system-pc power management

Touch irqs can be handled late when power management is enabled.

Bug: 64141048
Change-Id: Iacef8cc340fcedb9326b694288fcb65b7a642f05
This commit is contained in:
Steve Pfetsch
2017-09-26 14:32:13 -07:00
parent 8f1213d03c
commit 0260e9c113

View File

@@ -28,6 +28,10 @@ on boot
# Allow ftm4 autotune from adb shell
chown system shell /sys/devices/virtual/input/ftm4_touch/autotune
on init
# Disable system-pc idle to prevent touch drops [b/64141048]
write /sys/module/lpm_levels/system/system-pc/idle_enabled N
on init && property:ro.boot.revision=*
setprop ro.boot.hardware.revision ${ro.boot.revision}