mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-04 22:11:41 +00:00
552e3ceaee84c8745ada3284fe940fb6e9a4b6a8
Kick the PD task when the dual role toggling is enabled to ensure we start toggling immediatly and detect a UFP (USB device). The issue was visible with the CONFIG_USB_PD_LOW_POWER change where the task was waking up only every minute when the toggling was disabled, the whole system would take up to a minute after resume to detect a peripheral connected while in S3. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=smaug BUG=chrome-os-partner:45347 TEST=On Smaug, put the system into S3, plug a USB device (e.g. a USB key), transition to S0 and verify that the kernel is receiving immediatly the "host mode" notification. Change-Id: I12d10941f9d2cefdfe711847ba0aec9f269e9bcd Reviewed-on: https://chromium-review.googlesource.com/299796 Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> (cherry picked from commit 6a0e8ec3b9b1a7a0eb222a9e6c132d88d33f60e2) Reviewed-on: https://chromium-review.googlesource.com/299807 Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%