Commit 6876b7d71ca617f9b187dabf8fba3b5b016bb148

Authored by Peng Fan
1 parent 6e4753b4dc

MLK-22298 tcpc: fix tcpc_debug_log usage

Adding missed port parameter.

Signed-off-by: Peng Fan <peng.fan@nxp.com>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

board/freescale/common/tcpc.c
1 1 /*
2   - * Copyright 2017 NXP
  2 + * Copyright 2017,2019 NXP
3 3 *
4 4 * SPDX-License-Identifier: GPL-2.0+
5 5 */
... ... @@ -970,7 +970,7 @@
970 970 }
971 971  
972 972 dm_i2c_read(port->i2c_dev, TCPC_POWER_STATUS, &valb, 1);
973   - tcpc_debug_log("POWER STATUS: 0x%x\n", valb);
  973 + tcpc_debug_log(port, "POWER STATUS: 0x%x\n", valb);
974 974  
975 975 /* Clear AllRegistersResetToDefault */
976 976 valb = 0x80;