Commit c7f4dec
Input: atmel_mxt_ts - delay enabling IRQ when not using regulators
The path of enabling the IRQ in the probe function is not safe in level
triggered operation, if it was already powered up and there is a message
waiting on the device (eg finger down) because the object table has not yet
been read. This forces the ISR into a hard loop.
Delay enabling the interrupt until it is first needed.
Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
[cyrille.pitchen@atmel.com: adapt original patch to mainline]
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
[eugen.hristev@microchip.com: adapt original patch to 4.14]
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>1 parent 77ec2a3 commit c7f4dec
1 file changed
Lines changed: 25 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1184 | 1184 | | |
1185 | 1185 | | |
1186 | 1186 | | |
1187 | | - | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
1188 | 1196 | | |
1189 | | - | |
1190 | | - | |
1191 | | - | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
1192 | 1208 | | |
1193 | 1209 | | |
1194 | 1210 | | |
| |||
2878 | 2894 | | |
2879 | 2895 | | |
2880 | 2896 | | |
2881 | | - | |
| 2897 | + | |
2882 | 2898 | | |
2883 | 2899 | | |
2884 | 2900 | | |
| |||
3322 | 3338 | | |
3323 | 3339 | | |
3324 | 3340 | | |
3325 | | - | |
3326 | 3341 | | |
3327 | 3342 | | |
3328 | 3343 | | |
| |||
3359 | 3374 | | |
3360 | 3375 | | |
3361 | 3376 | | |
| 3377 | + | |
| 3378 | + | |
| 3379 | + | |
| 3380 | + | |
3362 | 3381 | | |
3363 | 3382 | | |
3364 | 3383 | | |
3365 | 3384 | | |
3366 | 3385 | | |
3367 | 3386 | | |
3368 | 3387 | | |
3369 | | - | |
3370 | | - | |
3371 | 3388 | | |
3372 | 3389 | | |
3373 | 3390 | | |
| |||
0 commit comments