Commit 31367b8
committed
Revert "i2c: at91: Read all available bytes at once"
This reverts commit e8f39e9.
This commit makes linux go in infinite loop inside IRQ context
if any i2c device is stuck.
Linux will keep receiving RXRDY. So this is not a good way to handle
reading from the controller1 parent e318512 commit 31367b8
1 file changed
Lines changed: 2 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
| 521 | + | |
| 522 | + | |
531 | 523 | | |
532 | 524 | | |
533 | 525 | | |
| |||
0 commit comments