diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2015-01-30 17:42:01 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-01-31 06:57:51 +0000 |
commit | c9adf202e3b1d50bda52fda9cb2f9cff918d64b4 (patch) | |
tree | 0c6dde5559b0b503a1ba0a54d242bd84fef6f8c8 /common/charge_state_v2.c | |
parent | 7ad29b56aeaa26ff2461257bdc070e9277a41782 (diff) | |
download | chrome-ec-c9adf202e3b1d50bda52fda9cb2f9cff918d64b4.tar.gz |
samus_pd: Do one auto port re-detection if an SDP port is detected
Non-SDP ports can be identified as SDP on slow plug insertion. To ensure
no long-term misdetection, automatically do a single re-detection 30
seconds after detecting an SDP port.
BUG=chrome-os-partner:36166
TEST=Manual on Samus. Slow-plug a 1A Apple charger, verify that
detection is originally 500mA. After 30s, verify that detection becomes
1000mA. Also verify that only one additional re-detection is triggered.
BRANCH=Samus
Change-Id: I2babaecdf2252436d1f6b35f5654c14eff9c526b
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/245153
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'common/charge_state_v2.c')
0 files changed, 0 insertions, 0 deletions