diff options
author | Ayushee <ayushee.shah@intel.com> | 2019-10-31 11:32:51 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-01 01:48:42 +0000 |
commit | 946402100fd0589b5480eebd8444a7c3eb9b6aa5 (patch) | |
tree | b74cf990222b891144a66d8edad119b9d8f9682c /driver | |
parent | 3ad88b367cf49da53865890bd7539827d1f29813 (diff) | |
download | chrome-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.c | 2 |
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; } |