diff options
author | Jett Rink <jettrink@chromium.org> | 2018-06-06 09:31:01 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-06-07 08:35:55 -0700 |
commit | 5390c49fdedd691f807fbac8dd387b48099a0852 (patch) | |
tree | 8592e9a35ae02856cb5f18a97e987f528427136f /board/yorp/board.c | |
parent | 31815b74ffdcd3979ba075e04f39e7fb704957f8 (diff) | |
download | chrome-ec-5390c49fdedd691f807fbac8dd387b48099a0852.tar.gz |
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 <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1089040
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'board/yorp/board.c')
-rw-r--r-- | board/yorp/board.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |