Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions zephyr/program/framework/src/cypress_pd_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ static void cypd_update_port_state(int controller, int port)

/*
* The port can have several states active:
* 1. Type C active (with no PD contract) CC resistor negociation only
* 1. Type C active (with no PD contract) CC resistor negotiation only
* 2. Type C active with PD contract
* 3. Not active
* Each of 1 and 2 can be either source or sink
Expand All @@ -1280,7 +1280,7 @@ static void cypd_update_port_state(int controller, int port)
type_c_current);
} else {
typec_set_input_current_limit(port_idx, 0, 0);
charge_manager_set_ceil(port,
charge_manager_set_ceil(port_idx,
CEIL_REQUESTOR_PD,
CHARGE_CEIL_NONE);
}
Expand Down Expand Up @@ -1440,7 +1440,7 @@ static void perform_error_recovery(int controller)
battery_get_disconnect_state() != BATTERY_NOT_DISCONNECTED)) {

data[0] = PORT_TO_CONTROLLER_PORT(i);
cypd_write_reg_block(PORT_TO_CONTROLLER(i),
cypd_write_reg_block(controller,
CCG_DPM_CMD_REG,
data, 2);
}
Expand Down
Loading