projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e4753b
)
MLK-22298 tcpc: fix tcpc_debug_log usage
author
Peng Fan
<peng.fan@nxp.com>
Tue, 23 Jul 2019 06:17:56 +0000
(14:17 +0800)
committer
Peng Fan
<peng.fan@nxp.com>
Tue, 23 Jul 2019 07:22:58 +0000
(15:22 +0800)
Adding missed port parameter.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
board/freescale/common/tcpc.c
patch
|
blob
|
history
diff --git
a/board/freescale/common/tcpc.c
b/board/freescale/common/tcpc.c
index
0b94521
..
bf3e371
100644
(file)
--- a/
board/freescale/common/tcpc.c
+++ b/
board/freescale/common/tcpc.c
@@
-1,5
+1,5
@@
/*
- * Copyright 2017 NXP
+ * Copyright 2017
,2019
NXP
*
* SPDX-License-Identifier: GPL-2.0+
*/
@@
-970,7
+970,7
@@
int tcpc_init(struct tcpc_port *port, struct tcpc_port_config config, ss_mux_sel
}
dm_i2c_read(port->i2c_dev, TCPC_POWER_STATUS, &valb, 1);
- tcpc_debug_log("POWER STATUS: 0x%x\n", valb);
+ tcpc_debug_log(
port,
"POWER STATUS: 0x%x\n", valb);
/* Clear AllRegistersResetToDefault */
valb = 0x80;