diff options
author | Steve Pfetsch <spfetsch@google.com> | 2017-09-26 14:32:13 -0700 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2017-09-29 22:48:49 +0000 |
commit | 90969667d603490b31fb09a84dd5110257422ee8 (patch) | |
tree | ad0f407f09aa95dc32cda13ba399cef91da44df8 | |
parent | d27c2cbc93e365caf698eb14b5e6b88ffbf8fb6c (diff) | |
download | taimen-90969667d603490b31fb09a84dd5110257422ee8.tar.gz |
taimen: disable system-pc power management
Touch irqs can be handled late when power management is enabled.
Bug: 64141048
Change-Id: Iacef8cc340fcedb9326b694288fcb65b7a642f05
(cherry picked from commit 0260e9c1139739d3de33aed500a3dbe4f6f3e5d9)
-rw-r--r-- | init-taimen.rc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init-taimen.rc b/init-taimen.rc index 127abf6..6a19881 100644 --- a/init-taimen.rc +++ b/init-taimen.rc @@ -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} |