Commit 36aee816 authored by Jing Lin's avatar Jing Lin
Browse files

input: atmel_mxt_ts: Add retry mechanism for I2C read/write



Try up to 3 times for each I2C read/write with 25ms delay between retries.
This is especially needed when writing to T7 to wake up the controller
from deep sleep mode.
Read/write T7 object in block, instead of one byte at a time.

Change-Id: Ibca9cdbf38c5726af5ff4ee9f0ce9ea6f0d183ee
Signed-off-by: default avatarJing Lin <jinglin@codeaurora.org>
parent 2f863174
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment