mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-01 21:02:27 +00:00
This change adds a usb clock enable before trying to write to the usb registers when preparing for deep sleep. It is possible that usb has not been initialized, so we need to make sure that the clock is enabled. BUG=chrome-os-partner:60555 BRANCH=none TEST=manual, on both dev and prod fused H1 run hibernate on the EC wait until cr50 enters deep sleep plug/unplug the charger verify the AP can boot to the kernel Change-Id: I26359f4224cd25dc57c32d1508e26b133c43d317 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/417771 Tested-by: Vadim Bendebury <vbendeb@chromium.org>