mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 02:20:48 +00:00
f6c7abb503f04bd16071534aae7af541ea328d27
When the debug cable is disconnected the a USB suspend interrupt is triggered and puts the chip to sleep before rdd can detect a change on the cc lines and disconnect from CCD. This prevents the DEBUG_STATE_MAP from being reset to detect the debug connect and is left detecting the disconnect. Since the debug accessory is already disconnected the RDD interrupt will wake up the chip right after it goes to sleep. The UTMI and PIN wake source still cause the chip to wake up before the RDD interrupt, so disable those to test this change. BUG=chrome-os-partner:54796 BRANCH=none TEST=Disable wake pin and utmi wake sources. Put cr50 to sleep. Attach a reworked suzy q and make sure cr50 wakes up. Detach it and check that it goes back to sleep. Do that a couple of times. Check CCD is still enabled when the debug accessory is detected and disabled on disconnect. Change-Id: I58a012895bc874dcdd512aa84de9a917469f3139 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/360234 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit For instructions on building from source, refer to http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%