summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Berg <alecaberg@chromium.org>2015-05-29 11:49:21 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-05-29 21:47:56 +0000
commiteaf2f26831e09bdd9b3ec6009beb6c7ab449ce76 (patch)
treeb7b65271f5a2f3546567b0cdbe905070cf9bd75f
parentb00ecbc2fef739a38b3972904c71173630b92e3b (diff)
downloadchrome-ec-eaf2f26831e09bdd9b3ec6009beb6c7ab449ce76.tar.gz
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 <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/274085 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r--include/usb_pd_tcpm.h2
1 files changed, 1 insertions, 1 deletions
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