Skip to content

Commit e4c7b95

Browse files
vphiremaChromeos LUCI
authored andcommitted
tcpci: Correct USB-C PD PPC config in header file
If the PD chip has built in PPC, TCPCM uses Sink & Src control functions from TCPCI driver hence changed the USB-C PD PPC config name in header file from CONFIG_USBC_PPC to CONFIG_USB_PD_PPC. BUG=none BRANCH=none TEST=Able to directly call the tcpci get and set src & sink control function for ADL-RVP board file. Change-Id: Iaff1acdea34723f54ae8e2cf67c33fbe29dbc1f4 Signed-off-by: Vijay Hiremath <[email protected]> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3511367 Reviewed-by: Aseda Aboagye <[email protected]>
1 parent 3df5302 commit e4c7b95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/driver/tcpm/tcpci.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ int tcpci_tcpm_mux_enter_low_power(const struct usb_mux *me);
337337
int tcpci_get_chip_info(int port, int live,
338338
struct ec_response_pd_chip_info_v1 *chip_info);
339339
int tcpci_get_vbus_voltage(int port, int *vbus);
340-
#ifdef CONFIG_USBC_PPC
340+
#ifdef CONFIG_USB_PD_PPC
341341
bool tcpci_tcpm_get_snk_ctrl(int port);
342342
int tcpci_tcpm_set_snk_ctrl(int port, int enable);
343343
bool tcpci_tcpm_get_src_ctrl(int port);

0 commit comments

Comments
 (0)