summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorAyushee <ayushee.shah@intel.com>2019-10-31 11:32:51 -0700
committerCommit Bot <commit-bot@chromium.org>2019-11-01 01:48:42 +0000
commit946402100fd0589b5480eebd8444a7c3eb9b6aa5 (patch)
treeb74cf990222b891144a66d8edad119b9d8f9682c /driver
parent3ad88b367cf49da53865890bd7539827d1f29813 (diff)
downloadchrome-ec-946402100fd0589b5480eebd8444a7c3eb9b6aa5.tar.gz
Cleanup: Renaming pd_is_ufp to pd_partner_is_ufp
pd_is_ufp function returns port partner CC status, renaming it to pd_partner_is_ufp to avoid ambiguity between host and port partner's CC status. BUG=b:141971044 BRANCH=None TEST=make buildall -j Change-Id: I19da8c8470db134e438271b92918994d77e4eb5d Signed-off-by: Ayushee <ayushee.shah@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1894119 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Diffstat (limited to 'driver')
-rw-r--r--driver/retimer/bb_retimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/retimer/bb_retimer.c b/driver/retimer/bb_retimer.c
index bef247363a..c89ae925f3 100644
--- a/driver/retimer/bb_retimer.c
+++ b/driver/retimer/bb_retimer.c
@@ -142,7 +142,7 @@ int retimer_set_state(int port, mux_state_t mux_state)
* 0 - DFP
* 1 - UPF
*/
- if (pd_is_ufp(port))
+ if (pd_partner_is_ufp(port))
set_retimer_con |= BB_RETIMER_USB_DATA_ROLE;
}