diff options
author | Diana Z <dzigterman@chromium.org> | 2020-11-16 14:06:35 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-18 18:16:20 +0000 |
commit | 511500d64d7f781c7363b2262bc2783883d26d99 (patch) | |
tree | 97986e3816a67cc26255b1f22fc532cde24c63ab /driver/tcpm/anx7447.c | |
parent | ae7a3b0270447ddd484c444b171c1c44656683e7 (diff) | |
download | chrome-ec-511500d64d7f781c7363b2262bc2783883d26d99.tar.gz |
TCPC: Change SOP' disable interface
Add the ability to enable or disable SOP' traffic through a new
parameter. Name the function for "enable" to match other EC
conventions.
BRANCH=None
BUG=b:168560801
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Ife52e7d7d098825ab2163c70a4c59510da958876
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2542864
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'driver/tcpm/anx7447.c')
-rw-r--r-- | driver/tcpm/anx7447.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/tcpm/anx7447.c b/driver/tcpm/anx7447.c index 385cafb081..b009ba32ae 100644 --- a/driver/tcpm/anx7447.c +++ b/driver/tcpm/anx7447.c @@ -810,7 +810,7 @@ const struct tcpm_drv anx7447_tcpm_drv = { .set_cc = &anx7447_set_cc, .set_polarity = &anx7447_set_polarity, #ifdef CONFIG_USB_PD_DECODE_SOP - .sop_prime_disable = &tcpci_tcpm_sop_prime_disable, + .sop_prime_enable = &tcpci_tcpm_sop_prime_enable, #endif .set_vconn = &tcpci_tcpm_set_vconn, .set_msg_header = &tcpci_tcpm_set_msg_header, |