diff options
author | Sam McNally <sammc@chromium.org> | 2023-02-13 20:27:49 +1100 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-02-15 00:29:20 +0000 |
commit | 7ec0dc24763c143a74644298cd915c9b1ae86df0 (patch) | |
tree | b33be7be821d3ddf6dfc115dd506f656e643af85 | |
parent | cca2382f1bb6dad7f1866328c6252f8026f81a9e (diff) | |
download | chrome-ec-7ec0dc24763c143a74644298cd915c9b1ae86df0.tar.gz |
dibbi: Update board_vbus_source_enabled() to use ppc_is_sourcing_vbus().
BUG=b:269050050
TEST=Boot dibbi from USB-C power
BRANCH=none
Change-Id: Id811b71710a53bd64e13648dfa52093d9b23bcda
Signed-off-by: Sam McNally <sammc@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4240912
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
-rw-r--r-- | board/dibbi/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/dibbi/board.c b/board/dibbi/board.c index af95d1f79e..a7d7767341 100644 --- a/board/dibbi/board.c +++ b/board/dibbi/board.c @@ -191,7 +191,7 @@ int board_vbus_source_enabled(int port) if (port != CHARGE_PORT_TYPEC0) return 0; - return ppc_is_vbus_present(port); + return ppc_is_sourcing_vbus(port); } /* Vconn control for integrated ITE TCPC */ |