summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2015-01-26 13:08:33 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-01-27 00:22:19 +0000
commite768086fcf23ced14ce149e7593c478f8cc91b93 (patch)
tree38b1a8137bf365ae16785ac76f52181f53db6b36
parent2737321ecda82335bada3aa4d6530de83a8985bb (diff)
downloadchrome-ec-e768086fcf23ced14ce149e7593c478f8cc91b93.tar.gz
samus_pd: Increase pericom debounce time again
Misidentifications are still occurring on slow plug insert, so double the debounce time. BUG=chrome-os-partner:35633 TEST=Manual on Samus. Plug 1A Apple charger and verify detection is correct. Test various plug speeds and verify detection is correct on all but intentional slow plugs (first contact to fully plugged > 1s). BRANCH=Samus Change-Id: I1c34a6b8cfd1550d1ae5d3f45d9709277e39c51d Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/243328 Reviewed-by: Alec Berg <alecaberg@chromium.org>
-rw-r--r--board/samus_pd/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/samus_pd/board.c b/board/samus_pd/board.c
index b2c21cb5cf..b11a1d0c78 100644
--- a/board/samus_pd/board.c
+++ b/board/samus_pd/board.c
@@ -121,7 +121,7 @@ void set_usb_switches(int port, int open)
}
/* Wait after a charger is detected to debounce pin contact order */
-#define USB_CHG_DEBOUNCE_DELAY_MS 500
+#define USB_CHG_DEBOUNCE_DELAY_MS 1000
/*
* Wait after reset, before re-enabling attach interrupt, so that the
* spurious attach interrupt from certain ports is ignored.