diff options
author | Edward Hill <ecgh@chromium.org> | 2020-08-29 17:23:44 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-09-03 19:18:34 +0000 |
commit | 463967bcaa76158527af3cd337c7e06677fd751f (patch) | |
tree | ca2429cba8142bdc4838d55bcee7ee30a7706411 /board/eve/board.c | |
parent | 81832b5d2e00c5d606d78f8cbd6b4074af75c0c0 (diff) | |
download | chrome-ec-463967bcaa76158527af3cd337c7e06677fd751f.tar.gz |
nct38xx: Only disable SNKEN if we are sink
Disabling SNKEN makes the VBSNK_EN pin Hi-Z, so USB_Cx_TCPC_VBSNK_EN_L
will be asserted by external pull-down, so only do so if already
sinking, otherwise both source and sink switches can be closed,
which should never happen.
BUG=b:166850036 b:166527561
BRANCH=zork
TEST=EC reboot with sink device in C0 and charger in C1
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: Ib4400a16b02e47eca109b95bf912b7f23325c8af
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2384009
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Tested-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'board/eve/board.c')
0 files changed, 0 insertions, 0 deletions