diff options
author | Denis Brockus <dbrockus@chromium.org> | 2020-01-09 13:08:32 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-01-14 00:16:26 +0000 |
commit | cb9c91ae78238429e0e7a1514333bc5fe8238431 (patch) | |
tree | d0b3b49261bc6b2984b23b0b8e536bb3853558e5 /driver/retimer/ps8802.c | |
parent | 018a8902c210c41ff8aa34f5515a6e44386c4461 (diff) | |
download | chrome-ec-cb9c91ae78238429e0e7a1514333bc5fe8238431.tar.gz |
ps8802: use hardware pin for IN_HPD
we have a hardware line to this pin, so we should
use that instead of setting it in firmware
BUG=b:139432598
BRANCH=none
TEST=make buildall -j
Change-Id: I0e7e826930d4421f2cb6e03d09ea9d7036a9ad26
Signed-off-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1993862
Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'driver/retimer/ps8802.c')
-rw-r--r-- | driver/retimer/ps8802.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/driver/retimer/ps8802.c b/driver/retimer/ps8802.c index 4c6da7f14a..1fda5526be 100644 --- a/driver/retimer/ps8802.c +++ b/driver/retimer/ps8802.c @@ -49,8 +49,7 @@ static int ps8802_set_mux(int port, mux_state_t mux_state) { int val = (PS8802_MODE_DP_REG_CONTROL | PS8802_MODE_USB_REG_CONTROL - | PS8802_MODE_FLIP_REG_CONTROL - | PS8802_MODE_IN_HPD_REG_CONTROL); + | PS8802_MODE_FLIP_REG_CONTROL); int rv; rv = ps8802_i2c_wake(port); |