Ben Lok
ee6663563d
stm32: spi: clear the spi sleep mask when AP in S3.
...
The SLEEP_MASK_SPI will not be cleared, if SPI received a bad data.
It is possible to block EC to enter deep sleep if AP send a bad
packet to EC before AP goto S3/S5. In order to ensure that deep
sleep can be enabled, clear SLEEP_MASK_SPI in chipset suspend hook
to avoid this situation.
BUG=chrome-os-partner:44170
BRANCH=None
TEST=manually
1. use AP console command to let AP enter S5:
> shutdown -h now
2. check the sleepmask in EC console.
> sleepmask
sleep mask: 00000000
Change-Id: Ib5f5c421c123d9a3c2cc6fead07c8fa515e452f1
Signed-off-by: Ben Lok <ben.lok@mediatek.com >
Reviewed-on: https://chromium-review.googlesource.com/294432
Reviewed-by: Rong Chang <rongchang@chromium.org >
2015-08-21 08:10:27 +00:00
..
2014-03-20 23:51:28 +00:00
2015-07-16 05:15:22 +00:00
2015-07-16 05:15:22 +00:00
2013-12-20 05:07:58 +00:00
2015-08-10 17:54:17 +00:00
2015-05-27 19:40:18 +00:00
2014-10-07 20:58:52 +00:00
2015-02-10 10:47:07 +00:00
2015-07-29 22:55:00 +00:00
2015-05-15 06:42:30 +00:00
2015-05-27 19:40:18 +00:00
2015-05-15 06:42:30 +00:00
2015-05-27 05:04:14 +00:00
2015-05-15 06:42:30 +00:00
2015-05-15 06:42:30 +00:00
2015-05-15 06:42:30 +00:00
2015-05-15 06:42:30 +00:00
2015-06-18 19:07:00 +00:00
2015-07-27 22:19:21 +00:00
2015-05-15 06:42:30 +00:00
2014-10-15 23:56:27 +00:00
2015-06-30 17:18:59 +00:00
2015-05-15 06:42:30 +00:00
2014-11-21 02:45:06 +00:00
2015-02-12 06:44:04 +00:00
2015-02-10 10:47:07 +00:00
2015-02-10 10:47:07 +00:00
2015-07-19 20:38:37 +00:00
2015-06-30 17:18:59 +00:00
2015-06-30 17:18:59 +00:00
2015-07-14 19:36:05 +00:00
2014-10-07 20:58:52 +00:00
2015-05-27 19:40:00 +00:00
2014-03-11 05:52:44 +00:00
2014-10-07 20:58:52 +00:00
2013-07-08 13:53:58 -07:00
2014-10-02 20:51:05 +00:00
2015-06-10 18:24:05 +00:00
2015-06-18 19:07:00 +00:00
2015-06-30 17:19:04 +00:00
2015-08-10 17:54:17 +00:00
2015-08-01 02:50:29 +00:00
2015-08-21 08:10:27 +00:00
2015-06-30 17:18:59 +00:00
2015-02-10 10:47:07 +00:00
2015-08-10 17:54:17 +00:00
2015-08-10 17:54:17 +00:00
2015-08-10 17:54:17 +00:00
2015-08-10 17:54:17 +00:00
2015-07-21 18:30:40 +00:00
2015-07-21 18:30:40 +00:00
2015-07-15 21:57:46 +00:00
2015-07-21 18:30:40 +00:00
2015-06-18 19:07:00 +00:00
2015-07-21 18:30:40 +00:00
2015-06-18 19:07:00 +00:00
2015-07-21 18:30:40 +00:00
2015-06-18 19:07:00 +00:00
2015-08-10 17:54:17 +00:00
2015-08-10 17:54:17 +00:00
2014-11-21 02:44:07 +00:00
2015-01-05 19:10:22 +00:00
2015-06-18 05:07:55 +00:00
2015-06-18 19:07:00 +00:00
2015-04-13 20:00:58 +00:00
2015-05-28 23:02:08 +00:00
2015-06-13 02:53:36 +00:00
2015-07-30 19:57:55 +00:00
2015-06-18 19:07:00 +00:00
2014-11-11 21:46:16 +00:00
2015-02-10 23:07:09 +00:00
2014-11-11 21:46:16 +00:00
2014-11-11 21:46:16 +00:00
2015-05-26 19:36:21 +00:00
2015-06-18 19:07:00 +00:00
2015-04-13 20:00:58 +00:00
2014-06-20 18:27:26 +00:00