Commit c147be2
fwk: dogwood: EC should turn on the PSU power as soon as possible
In the commit 871089f, we should use
gpio_pin_set_dt instead of gpio_pin_get_dt if the 5V current alart is
asserted.
TEST=fwk-dogwood-27111
BUG=code reviewed and found that we used the wrong API
TEST=Measure the interval between 5V alert and ps_on.
The interval with this change is 26us; Before this change is 1.5ms
Signed-off-by: Josh Tsai <Josh_Tsai@compal.com>1 parent 3d416f2 commit c147be2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| |||
0 commit comments