From 5390c49fdedd691f807fbac8dd387b48099a0852 Mon Sep 17 00:00:00 2001 From: Jett Rink Date: Wed, 6 Jun 2018 09:31:01 -0600 Subject: octopus: rename USB-C signal names Simple rename of gpio based on newest schematics for yorp and phaser BRANCH=none BUG=b:109747036,b:109747361 TEST=build Change-Id: I08d9010f16e623ca41bb66363d568c4b5bd687e8 Signed-off-by: Jett Rink Reviewed-on: https://chromium-review.googlesource.com/1089040 Commit-Ready: ChromeOS CL Exonerator Bot Reviewed-by: Aaron Durbin Reviewed-by: Furquan Shaikh --- board/yorp/board.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'board/yorp/board.c') diff --git a/board/yorp/board.c b/board/yorp/board.c index 7e4111116e..8e2ba6fcf3 100644 --- a/board/yorp/board.c +++ b/board/yorp/board.c @@ -45,7 +45,7 @@ static void tcpc_alert_event(enum gpio_signal signal) { - if ((signal == GPIO_USB_C1_PD_INT_ODL) && + if ((signal == GPIO_USB_C1_MUX_INT_ODL) && !gpio_get_level(GPIO_USB_C1_PD_RST_ODL)) return; @@ -58,11 +58,11 @@ static void tcpc_alert_event(enum gpio_signal signal) static void ppc_interrupt(enum gpio_signal signal) { switch (signal) { - case GPIO_USB_PD_C0_INT_L: + case GPIO_USB_PD_C0_INT_ODL: nx20p3483_interrupt(0); break; - case GPIO_USB_PD_C1_INT_L: + case GPIO_USB_PD_C1_INT_ODL: nx20p3483_interrupt(1); break; -- cgit v1.2.1