summaryrefslogtreecommitdiff
path: root/driver/charger/bd9995x.h
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2020-01-27 15:41:19 -0700
committerCommit Bot <commit-bot@chromium.org>2020-01-28 19:29:46 +0000
commitd9a869beb6e1778cec38dcce64f289aba353a8d5 (patch)
treeba81ea9e865daaf4b97a57e76ff1e9ab6aa7faf9 /driver/charger/bd9995x.h
parentbfbfd07131e2d21fd0d8359c6f7e8040927e27ae (diff)
downloadchrome-ec-d9a869beb6e1778cec38dcce64f289aba353a8d5.tar.gz
TCPMv2: Ensure Rd is set in Debug Accessory.SNK
When tcpm_init() runs (ex. during a phy layer reset), it will cache an Open state for the CC pull. This can cause Open to be presented on the CC lines during the next call to set polarity. The Attached.SNK state already ensures Rd is set by calling set_cc explicitly, and this change adds an explicit set to Rd for Debug Accessory.SNK as well. BRANCH=None BUG=b:147316570 TEST=loaded on waddledoo, ensured CC lines weren't set to Open when suzy-q was plugged in Change-Id: I17ea735632e10c666691c04d56057c57688dcbd6 Signed-off-by: Diana Z <dzigterman@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2023240 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'driver/charger/bd9995x.h')
0 files changed, 0 insertions, 0 deletions