diff options
author | Eric Yilun Lin <yllin@chromium.org> | 2020-07-29 14:35:29 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-08-05 07:53:12 +0000 |
commit | 85fd47d57d46b7783a6dc059483d6c744f9195a2 (patch) | |
tree | f0c48f1bc7849b2f74c7764767191682f77631e0 /board | |
parent | ae40b0d68c1dd02dafdb0ed4777747878655beff (diff) | |
download | chrome-ec-85fd47d57d46b7783a6dc059483d6c744f9195a2.tar.gz |
asurada: do not set PPC Vconn in board hook
PPC Vconn control should have been handled in the set_vconn.
BUG=b:162294637
TEST=Vconn is still sourcing on asurada
BRANCH=none
Change-Id: I205a09693cdb57b83830f986b77535d28ed3569c
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2325491
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/asurada/board.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/board/asurada/board.c b/board/asurada/board.c index 1f38b84894..07c0e92ac3 100644 --- a/board/asurada/board.c +++ b/board/asurada/board.c @@ -475,12 +475,10 @@ void board_set_charge_limit(int port, int supplier, int charge_ma, void board_pd_vconn_ctrl(int port, enum usbpd_cc_pin cc_pin, int enabled) { /* - * We ignore the cc_pin because the polarity should already be set - * correctly in the PPC driver via the pd state machine. + * We ignore the cc_pin and PPC vconn because polarity and PPC vconn + * should already be set correctly in the PPC driver via the pd + * state machine. */ - if (ppc_set_vconn(port, enabled) != EC_SUCCESS) - cprints(CC_USBPD, "C%d: Failed %sabling vconn", - port, enabled ? "en" : "dis"); } /* Called on AP S3 -> S0 transition */ |