diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2016-05-26 18:26:11 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-05-28 00:08:38 -0700 |
commit | 52fdd95321cb56094498f358872400969e260f9e (patch) | |
tree | f1f716696a316c2ec0620c5ebd3e90a5517c2cdd /board/kevin | |
parent | 0c5782495d60c3980b0c6ed91a7d8f000bb8d02a (diff) | |
download | chrome-ec-52fdd95321cb56094498f358872400969e260f9e.tar.gz |
BD99955: Get the VBUS provided status from individual ports
BUG=chrome-os-partner:53786
BRANCH=none
TEST=Manually tested on Amenia. VBUS provide status is updated
properly for inividual ports.
Change-Id: I59c41988438543033db2322029169f405f347869
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/347895
Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/kevin')
-rw-r--r-- | board/kevin/board.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/kevin/board.c b/board/kevin/board.c index f3f99d38b9..65fa97f125 100644 --- a/board/kevin/board.c +++ b/board/kevin/board.c @@ -204,7 +204,8 @@ void board_set_charge_limit(int port, int supplier, int charge_ma) int extpower_is_present(void) { - return bd99955_extpower_is_present(); + /* Check VBUS on either port */ + return bd99955_is_vbus_provided(BD99955_CHARGE_PORT_BOTH); } static void board_init(void) |