Commit b9907b9
fwk: CCG8: set the active current limit before multi-port switching
When the EC processes a multi-port switch, the sink path is enabled
first, and then the input current limit for the active port is set.
This sequence can cause a lower power adapter to operate with a higher
input current limit , potentially triggering an OCP event.
To ensure the adapter operates within a safe operating current, the EC
should set the input current limit to the active one before enabling the
sink path or completing the multi-port switching.
BRANCH=fwk-main
BUG=https://app.clickup.com/t/86ev81hyn
TEST=The EC log will not print the AC off during the multi-port switching
Signed-off-by: Josh Tsai <Josh_Tsai@compal.com>
(cherry picked from commit 3c8aa8752ef20f0d49b177a0f1e8ac1c8e7611bd)1 parent 2ca443b commit b9907b9
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1639 | 1639 | | |
1640 | 1640 | | |
1641 | 1641 | | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
1642 | 1653 | | |
1643 | 1654 | | |
1644 | 1655 | | |
| |||
0 commit comments