summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorDivya Sasidharan <divya.s.sasidharan@intel.com>2016-11-14 16:23:44 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-11-14 22:47:43 -0800
commitaf848fcce3cd080abe0470be61a15c9c97c5bf5c (patch)
treed933df9d67e12b44fd54f577af365803cb7fbaa4 /driver
parent4a1f5b092778ff5198699bcc40d040b5884d270e (diff)
downloadchrome-ec-af848fcce3cd080abe0470be61a15c9c97c5bf5c.tar.gz
anx74xx: Fix typo in anx74xx_check_cc_type function
BRANCH=none BUG=none TEST=manual, On Reef connected hoho and made sure it is properly detected instead of as an accessory. Change-Id: I1c271a8c5c2800dd88bf0e63a7c7aa2e23551510 Signed-off-by: Divya Sasidharan <divya.s.sasidharan@intel.com> Reviewed-on: https://chromium-review.googlesource.com/411382 Commit-Ready: Kevin K Wong <kevin.k.wong@intel.com> Tested-by: Divya S Sasidharan <divya.s.sasidharan@intel.com> Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: David Hendricks <dhendrix@chromium.org>
Diffstat (limited to 'driver')
-rw-r--r--driver/tcpm/anx74xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/tcpm/anx74xx.c b/driver/tcpm/anx74xx.c
index fc242bc1f0..89f187f44b 100644
--- a/driver/tcpm/anx74xx.c
+++ b/driver/tcpm/anx74xx.c
@@ -408,7 +408,7 @@ static int anx74xx_check_cc_type(int cc_reg)
break;
case BIT_VALUE_OF_SRC_CC_RA:
- cc = TYPEC_CC_VOLT_RD;
+ cc = TYPEC_CC_VOLT_RA;
break;
case BIT_VALUE_OF_SNK_CC_DEFAULT: