Repository navigation
Commit ff980e3
committed
w1: masters: w1-uart: Cap consecutive HDQ timeouts on guarded variants
Follow up on transient HDQ timeout retries by faulting a guarded
(`hdq_fail_stop`) link after 5 consecutive completely exhausted reads
(15 consecutive timed-out cycles with no successful response), so a
permanently dead HDQ line stops retrying instead of spinning forever.
Any successful transfer resets the counter.
Assisted-by: LLM
Signed-off-by: Grier Johnson <grier@scooterfarm.com>1 parent 182354d commit ff980e3
1 file changed
Lines changed: 18 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| 103 | + | |
101 | 104 | | |
102 | 105 | | |
103 | 106 | | |
| |||
536 | 539 | | |
537 | 540 | | |
538 | 541 | | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
544 | 555 | | |
| 556 | + | |
| 557 | + | |
545 | 558 | | |
546 | 559 | | |
547 | 560 | | |
| |||
0 commit comments