Files
OpenCellular/chip/stm32
Philip Chen e2a9ede352 chip/stm32/clock: Handle illegal alarm timeout gracefully
Even if we set the rtc alarm timeout for more than 86400 secs,
we should not crash the system.

BUG=chromium:768042
BRANCH=none
TEST=on AP console, do 'ectool rtcsetalarm 99999' and
then see 'EC result 3 (INVALID_PARAM)' without crash.

Change-Id: Ic0fa92ff101bce1f4791221c4e1eadaf7a005355
Signed-off-by: Philip Chen <philipchen@google.com>
Reviewed-on: https://chromium-review.googlesource.com/807624
Commit-Ready: Philip Chen <philipchen@chromium.org>
Tested-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
2017-12-06 17:30:47 -08:00
..
2017-09-07 15:01:05 -07:00
2014-10-07 20:58:52 +00:00
2017-09-07 15:01:05 -07:00
2017-07-28 17:45:13 -07:00
2016-04-25 16:49:02 -07:00
2015-06-18 19:07:00 +00:00
2017-08-18 16:46:33 -07:00
2017-04-26 11:25:57 -07:00
2014-10-07 20:58:52 +00:00
2017-07-28 17:45:13 -07:00
2016-04-25 16:49:01 -07:00
2017-02-23 11:36:21 -08:00
2016-11-15 17:41:53 -08:00
2015-08-24 19:08:35 +00:00
2015-08-24 19:08:30 +00:00
2015-08-24 19:08:30 +00:00
2015-08-24 19:08:30 +00:00
2015-08-24 19:08:30 +00:00
2015-08-24 19:08:30 +00:00
2016-09-02 21:17:22 -07:00