From eaf2f26831e09bdd9b3ec6009beb6c7ab449ce76 Mon Sep 17 00:00:00 2001 From: Alec Berg Date: Fri, 29 May 2015 11:49:21 -0700 Subject: tcpc: fix alert bit masks for transmit Fix alert transmit complete bit mask typo BUG=none BRANCH=none TEST=make buildall Change-Id: I70f9276f6448190aba5bafdbdab957fb8f0a4517 Signed-off-by: Alec Berg Reviewed-on: https://chromium-review.googlesource.com/274085 Reviewed-by: Vincent Palatin --- include/usb_pd_tcpm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/usb_pd_tcpm.h b/include/usb_pd_tcpm.h index 8e935e155f..47b60622f7 100644 --- a/include/usb_pd_tcpm.h +++ b/include/usb_pd_tcpm.h @@ -34,7 +34,7 @@ #define TCPC_REG_ALERT1_TX_DISCARDED (1<<1) #define TCPC_REG_ALERT1_TX_FAILED (1<<0) #define TCPC_REG_ALERT1_TX_COMPLETE (TCPC_REG_ALERT1_TX_SUCCESS | \ - TCPC_REG_ALERT1_TX_FAILED | \ + TCPC_REG_ALERT1_TX_DISCARDED | \ TCPC_REG_ALERT1_TX_FAILED) #define TCPC_REG_ALERT2 0x11 -- cgit v1.2.1