Skip to content

Commit 8343bce

Browse files
committed
Atmel MXT touchscreen: increase reset timeouts
There is a more complete atmel patch-series out by Nick Dyer that fixes this and other things, but in the meantime this is the minimal thing to get the touchscreen going on (at least my) Pixel Chromebook. Not that I want my dirty fingers near that beautiful screen, but it seems that a non-initialized touchscreen will also end up being a constant wakeup source, so you have to disable it to go to sleep. And it's easier to just fix the initialization sequence. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 0aefda3 commit 8343bce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/input/touchscreen/atmel_mxt_ts.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@
176176
/* Define for MXT_GEN_COMMAND_T6 */
177177
#define MXT_BOOT_VALUE 0xa5
178178
#define MXT_BACKUP_VALUE 0x55
179-
#define MXT_BACKUP_TIME 25 /* msec */
180-
#define MXT_RESET_TIME 65 /* msec */
179+
#define MXT_BACKUP_TIME 50 /* msec */
180+
#define MXT_RESET_TIME 200 /* msec */
181181

182182
#define MXT_FWRESET_TIME 175 /* msec */
183183

0 commit comments

Comments
 (0)