summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2015-01-20 15:05:57 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-01-21 06:44:48 +0000
commitdd57f6340ba0c8707d8857f605b9d7e390743493 (patch)
treec44b99bd82f18116e65babf9d8fc321c2cb3cd99
parentfdf68bdcd220ed9df3c543ca5097de1c37902932 (diff)
downloadchrome-ec-dd57f6340ba0c8707d8857f605b9d7e390743493.tar.gz
samus_pd: Increase pericom debounce time
Increase debounce time to decrease the probability of misidentification on slow plug insert. BUG=chrome-os-partner:35633 TEST=Manual on Samus. Plug 1A Apple charger, verify detection is correct. BRANCH=Samus Change-Id: I031f1cfdbf6b2aabe7c8b64e0e6a740d4b5df14d Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/242093 Reviewed-by: Alec Berg <alecaberg@chromium.org>
-rw-r--r--board/samus_pd/board.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/samus_pd/board.c b/board/samus_pd/board.c
index c504486dfc..f5c0a9ed1f 100644
--- a/board/samus_pd/board.c
+++ b/board/samus_pd/board.c
@@ -118,10 +118,10 @@ void set_usb_switches(int port, int open)
mutex_unlock(&usb_switch_lock[port]);
}
-/* Wait 200ms after a charger is detected to debounce pin contact order */
-#define USB_CHG_DEBOUNCE_DELAY_MS 200
+/* Wait after a charger is detected to debounce pin contact order */
+#define USB_CHG_DEBOUNCE_DELAY_MS 500
/*
- * Wait 100ms after reset, before re-enabling attach interrupt, so that the
+ * Wait after reset, before re-enabling attach interrupt, so that the
* spurious attach interrupt from certain ports is ignored.
*/
#define USB_CHG_RESET_DELAY_MS 100