diff options
author | Denis Brockus <dbrockus@chromium.org> | 2020-02-05 12:49:55 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-02-06 03:56:50 +0000 |
commit | 50d7dd999f709669fe965cda68b753c3ee4602e2 (patch) | |
tree | 004cb0fead4bf85f2b6f6baf06294f81e89f60ec /baseboard/zork | |
parent | 42d77650f7d3767e80bf0fe641425db0234bb7a9 (diff) | |
download | chrome-ec-50d7dd999f709669fe965cda68b753c3ee4602e2.tar.gz |
zork: wake up ps8802 before tuning gain adjustment
BUG=none
BRANCH=none
TEST=verify functional USB-C1
Change-Id: If716e182e15e7d9f355b0d5ec2e0b444b83ccf4b
Signed-off-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2039913
Reviewed-by: Edward Hill <ecgh@chromium.org>
Commit-Queue: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'baseboard/zork')
-rw-r--r-- | baseboard/zork/baseboard.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/baseboard/zork/baseboard.c b/baseboard/zork/baseboard.c index 3b7784a1d8..555afaaa31 100644 --- a/baseboard/zork/baseboard.c +++ b/baseboard/zork/baseboard.c @@ -484,6 +484,11 @@ static int ps8802_tune_mux(int port, mux_state_t mux_state) { int rv = EC_SUCCESS; + /* Make sure the PS8802 is awake */ + rv = ps8802_i2c_wake(port); + if (rv) + return rv; + /* USB specific config */ if (mux_state & USB_PD_MUX_USB_ENABLED) { /* Boost the USB gain */ |