Skip to content

Commit e34d230

Browse files
authored
Merge pull request #497 from FrameworkComputer/hx30.revert_commit_5f42826
Revert "[fix] ec should not control C_CTRL when no battery"
2 parents 35d0a5f + 9a6c2a5 commit e34d230

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

board/hx30/cypress5525.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1766,11 +1766,6 @@ int board_set_active_charge_port(int charge_port)
17661766
{
17671767
CPRINTS("start change port = %d, prev_charge_port = %d", charge_port, prev_charge_port);
17681768

1769-
if (board_batt_is_present() != BP_YES) {
1770-
CPRINTS("No batt, no change");
1771-
return EC_ERROR_NOT_POWERED;
1772-
}
1773-
17741769
/* port need change, stop all power and ready to switch. */
17751770
if (prev_charge_port != -1 && prev_charge_port != charge_port) {
17761771
update_soc_power_limit(false, true);

0 commit comments

Comments
 (0)