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>
This commit is contained in:
Divya Sasidharan
2016-11-14 16:23:44 -08:00
committed by chrome-bot
parent 4a1f5b0927
commit af848fcce3

View File

@@ -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: