mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 18:35:28 +00:00
c0294874ec15ed9f22eb03961ca7edcdeca52ec2
When cr50 connects to the AP usb it should only initialize the usb when it knows that the AP is on. If usb is incorrectly initialized it can prevent cr50 from going to sleep. In this change the AP usb will be initialized when suzyq is disconnected or on HOOK_CHIPSET_RESUME and it will be released on HOOK_CHIPSET_SHUTDOWN. BUG=chrome-os-partner:55747 BRANCH=none TEST=manual On reef run apreset and verify the AP can communicate with cr50 over usb after it boots up. Run poweroff and verify cr50 has released the usb. power the AP back on and check that it can communicate with cr50 again Change-Id: Id35010525e2354ee140d3b7220fb5ea434a0993f Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/383979 Reviewed-by: Bill Richardson <wfrichar@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%