Files
OpenCellular/chip/stm32
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-10-07 20:58:52 +00:00
2015-06-18 19:07:00 +00:00
2015-07-14 19:36:05 +00:00
2014-10-07 20:58:52 +00:00
2014-10-07 20:58:52 +00:00
2013-07-08 13:53:58 -07:00
2015-06-18 19:07:00 +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-06-18 19:07:00 +00:00
2015-04-13 20:00:58 +00:00