diff options
author | Chenhui Zhao <chenhui.zhao@freescale.com> | 2015-07-14 07:23:34 (GMT) |
---|---|---|
committer | Zhengxiong Jin <Jason.Jin@freescale.com> | 2015-07-14 09:43:41 (GMT) |
commit | ec78b412ad8fab85d14ec0d692d1bd6b79561a58 (patch) | |
tree | 6ef0a503246ef34728830558f7d8faefbefcb901 /drivers/hwmon/it87.c | |
parent | 13d0daf87e8a91410e7399c308dd438dc73872a3 (diff) | |
download | linux-fsl-qoriq-ec78b412ad8fab85d14ec0d692d1bd6b79561a58.tar.xz |
arm: ls1021a: mask interrupts before entering deep sleep
Before entering deep sleep, interrupts should be masked. Or,
unexpected interrupts may block the process of deep sleep.
So, mask interrupts by the following steps:
1. Mask interrupts to RCPM
2. Disable the GIC
This will make deep sleep more stable.
Signed-off-by: Chenhui Zhao <chenhui.zhao@freescale.com>
Change-Id: I601062f8406324a308ef44491fed7cf479eaeba9
Reviewed-on: http://git.am.freescale.net:8181/39602
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
Diffstat (limited to 'drivers/hwmon/it87.c')
0 files changed, 0 insertions, 0 deletions