diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2019-12-10 16:46:55 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-12-11 08:24:53 +0000 |
commit | 8d00345012f717500a85890a07326ff27cf54593 (patch) | |
tree | 86737de33800a7364bb3aaeee4424f0aeee29331 /driver/retimer | |
parent | 82b48440086e010880db8bd102e7ade1f8d515ad (diff) | |
download | chrome-ec-8d00345012f717500a85890a07326ff27cf54593.tar.gz |
usb_pd: Get current DP pin mode
As part of the new changes in CL:1949052 getting DP pin mode status
is removed hence adding back old CL:1646534 on TOT.
BUG=b:146006717
BRANCH=none
TEST=Manually tested on TGLRVP, able to see DP working
Change-Id: I09cee179ad64c1b7753ec87ce83a1d5dc54770cd
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1961150
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'driver/retimer')
-rw-r--r-- | driver/retimer/bb_retimer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/retimer/bb_retimer.c b/driver/retimer/bb_retimer.c index 64112b6769..d1b409b8a9 100644 --- a/driver/retimer/bb_retimer.c +++ b/driver/retimer/bb_retimer.c @@ -166,7 +166,7 @@ static int retimer_set_state(int port, mux_state_t mux_state) * 01 ā Pin assignments C/Cā/D/Dā1,2 * 10, 11 - reserved */ - dp_pin_mode = board_get_dp_pin_mode(port); + dp_pin_mode = get_dp_pin_mode(port); if (dp_pin_mode == MODE_DP_PIN_C || dp_pin_mode == MODE_DP_PIN_D) set_retimer_con |= BB_RETIMER_DP_PIN_ASSIGNMENT; |