summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2016-05-24 19:01:29 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-06-03 03:00:08 -0700
commitd5f676953ecc15cb836efa705827425a78473c9b (patch)
tree3edd6c8dda7819825e0db840822a4185e56f477f
parent0e532c6044e068c3929a0407c31893e0070e1196 (diff)
downloadchrome-ec-d5f676953ecc15cb836efa705827425a78473c9b.tar.gz
reef: really disable USB-A in S3 -> S5
BUG=none BRANCH=none TEST=built and booted EC image on reef Change-Id: Ic20416dac03eb3d52806fa7e2f53008db5580c3f Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/347096 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Kevin K Wong <kevin.k.wong@intel.com>
-rw-r--r--board/reef/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/reef/board.c b/board/reef/board.c
index 4a1a6aa95c..5d30be65cc 100644
--- a/board/reef/board.c
+++ b/board/reef/board.c
@@ -467,7 +467,7 @@ DECLARE_HOOK(HOOK_CHIPSET_STARTUP, board_chipset_startup, HOOK_PRIO_DEFAULT);
static void board_chipset_shutdown(void)
{
/* Disable USB-A port. */
- gpio_set_level(GPIO_EN_USB_A_5V, 1);
+ gpio_set_level(GPIO_EN_USB_A_5V, 0);
hook_call_deferred(&enable_input_devices_data, 0);
/* FIXME(dhendrix): Drive USB_PD_RST_ODL low to prevent