Commit 56b25a0
Input: atmel_mxt_ts: add a second try if initialization fails
For an unknown reason, the maxtouch can not ack the i2c request when we
want to communicate. Trying to establish the communication finally works
after about 200 ms. So when probing the driver if the first time
initilization fails then wait and try a second time.
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
[eugen.hristev@microchip.com: adapted original patch to 4.14>
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>1 parent 8889a6b commit 56b25a0
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3210 | 3210 | | |
3211 | 3211 | | |
3212 | 3212 | | |
3213 | | - | |
3214 | | - | |
| 3213 | + | |
| 3214 | + | |
| 3215 | + | |
| 3216 | + | |
| 3217 | + | |
| 3218 | + | |
| 3219 | + | |
| 3220 | + | |
3215 | 3221 | | |
3216 | 3222 | | |
3217 | 3223 | | |
| |||
0 commit comments