Commit f9acd8a
Revert "nissa: Workaround for ADC initial read error"
This reverts commit 5e4df0a.
Reason for revert: Root cause of ADC issue fixed.
Original change's description:
> nissa: Workaround for ADC initial read error
>
> It appears the ADC comparator initialisation breaks
> other ADCs that have not been read, so workaround
> the issue by initially reading all ADCs so that they are correctly
> initialised.
>
> Also add a check so that zero reads are detected and returned as an
> error.
>
> BUG=b:224900226
> TEST=zmake build nivviks; flash and run and check ADCs work.
> BRANCH=none
>
> Signed-off-by: Andrew McRae <amcrae@google.com>
> Change-Id: Ifcbebf2ca9b9a336f10fe3659fd3452223474ed3
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3528015
> Reviewed-by: Peter Marheine <pmarheine@chromium.org>
> Commit-Queue: Peter Marheine <pmarheine@chromium.org>
Bug: b:224900226
Change-Id: I97e3b71270767571eebbbe850ba18d5a3cc2869a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3541803
Auto-Submit: Andrew McRae <amcrae@google.com>
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Tested-by: Andrew McRae <amcrae@google.com>
Commit-Queue: Andrew McRae <amcrae@google.com>1 parent d810425 commit f9acd8a
File tree
2 files changed
+0
-20
lines changed- zephyr
- projects/nissa/src/nivviks
- shim/src
2 files changed
+0
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | 81 | | |
91 | 82 | | |
92 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 85 | | |
97 | 86 | | |
0 commit comments