Commit f95e1a4
fwk: cypd: fix multi-port switch affect by new request
if have a new request from charger task
we should make sure the port is connected and must be an active port.
BRANCH=fwk-main
BUG=when unplug second port adp(bigger adp), the small one won't charge battery
TEST=test on Lotus, plug in 65w adp to port2, and plug 180w to port3, than unplug
180w, make sure 65w still can charge, type cypdstatus 1 check port2 VBUS-FET is EC ON.
Signed-off-by: LeoCX_Tsai <LeoCX_Tsai@compal.com>
(cherry picked from commit b922b83)1 parent 45bb4d1 commit f95e1a4
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2031 | 2031 | | |
2032 | 2032 | | |
2033 | 2033 | | |
2034 | | - | |
| 2034 | + | |
| 2035 | + | |
2035 | 2036 | | |
2036 | 2037 | | |
2037 | 2038 | | |
| |||
0 commit comments