mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 00:21:46 +00:00
- most events happen in the first 100us, we don't want to sleep to 2ms. This introduces big delays. Just poll the 150us, then fall back to sleep. - restore properly the port state after master transfers. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BUG=None TEST=On Lucas DVT, probe I2C signals with logic analyzer and manually check them. Verify that the keyboard is still working with the charging code enabled. Change-Id: Ic0afde081d070ff6720d924469ecc7166bbc9e4c Reviewed-on: https://gerrit.chromium.org/gerrit/26161 Commit-Ready: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org>