mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
0de92e26167a858d7350d6bd2af75f2f0b73f960
To make sure cr50 usb works, we need to disable sleep immediately after the usb controller detects that usb has resumed. The usb WKUPINT is asserted on usb resume, but cr50 doesn't currently respond to that. This change umasks the usb wakeup interrupt, so that USB ISR will disable sleep on resume. BUG=b:35774906 BRANCH=none TEST=Run 100 'usb_updater -f' 100 times sleeping 20 seconds in between each run. Verify there are no failures and cr50 still goes to sleep between each run. Change-Id: I1819deaa3988bcf2a85686d1b9d57092ba264c4d Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/450900 Reviewed-by: Vadim Bendebury <vbendeb@google.com>
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%