mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-14 00:26:30 +00:00
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:
committed by
ChromeOS Commit Bot
parent
2737321ecd
commit
e768086fcf
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user