commit | 36aee816a03848083fc1c3846799a933e578682b | [log] [tgz] |
---|---|---|
author | Jing Lin <jinglin@codeaurora.org> | Mon Oct 17 17:17:28 2011 -0700 |
committer | Jing Lin <jinglin@codeaurora.org> | Fri Oct 21 11:46:20 2011 -0700 |
tree | 546e2a8dffa32efc93d94448575903f3ce8e436e | |
parent | 2f863174f9c5f974b1e4fbe7f0e17de5c9118122 [diff] |
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: Jing Lin <jinglin@codeaurora.org>