Commit 6415758
fwk: ucsi: don't swap the ucsi port if the port is invalid
There is a side effect in this change 95b5094.
EC swaps the invalid ucsi port and causes the "Imprecise data bus error".
This change modified the logic to ensure the EC does not swap the invalid UCSI port.
BRANCH=fwk-main
BUG=https://app.clickup.com/t/86euq44h3
TEST=Run the HLK test can get the pass result
Signed-off-by: Josh Tsai <Josh_Tsai@compal.com>
(cherry picked from commit 103201c1071b3c5fb9c1240a9c7735a790449943)1 parent 51c7225 commit 6415758
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
139 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| |||
0 commit comments