summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2019-02-27 08:27:27 +0800
committerchrome-bot <chrome-bot@chromium.org>2019-02-27 04:59:04 -0800
commitedf3c100bb09c60b813170de322c74c32f68b0b5 (patch)
tree53d160dfdedf2ab4bb09b0e20f715c7e71e7d0d1 /Makefile
parent5a7600276d9f2a5eafb87a348f305e875f7e4382 (diff)
downloadchrome-ec-edf3c100bb09c60b813170de322c74c32f68b0b5.tar.gz
power/mt8183: Do not react to watchdog interrupt if PMIC is off
When the PMIC is shut down, the watchdog line will naturally fall as well. From measurements, this takes about 70ms+, so the EC will have enough time to do the power sequencing and mask watchdog interrupts, unless something exceptional happens. The exceptional case is easy to handle anyway, so let's do that. BRANCH=none BUG=b:124474520 TEST=With msleep(10) in power_handle_state and printout in the else branch of chipset_watchdog_interrupt => AP poweroff does not cause a watchdog reset. TEST=stop daisydog; echo > /dev/watchdog => system resets after a few seconds Change-Id: I532b1968abb90bd9e96856020faf16080fe67af3 Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1490793 Reviewed-by: Yilun Lin <yllin@chromium.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions