Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
Fix hx20 board in line with PR#24
Fixes the pd response print in the hx20 board, inline with the approved changes for hx30 at #24
  • Loading branch information
pantsman0 authored Apr 7, 2023
commit 9eee6787c04d322d0973a93129d7c6ab572f3b19
11 changes: 6 additions & 5 deletions board/hx20/cypress5525.c
Original file line number Diff line number Diff line change
Expand Up @@ -968,12 +968,13 @@ void cyp5525_port_int(int controller, int port)
int port_idx = (controller << 1) + port;
enum pd_msg_type sop_type;
rv = i2c_read_offset16_block(i2c_port, addr_flags, CYP5525_PORT_PD_RESPONSE_REG(port), data2, 4);
if (rv != EC_SUCCESS)
if (rv != EC_SUCCESS) {
CPRINTS("PORT_PD_RESPONSE_REG failed");
print_pd_response_code(controller,
port,
data2[0],
data2[1]);
print_pd_response_code(controller,
port,
data2[0],
data2[1]);
}

response_len = data2[1];
switch (data2[0]) {
Expand Down