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>
This commit is contained in:
Shawn Nematbakhsh
2015-01-26 13:08:33 -08:00
committed by ChromeOS Commit Bot
parent 2737321ecd
commit e768086fcf

View File

@@ -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.