commit | edb190cb173416b9d7f59b3887ecc43f6d94a9ad | [log] [tgz] |
---|---|---|
author | Anson Huang <anson.huang@nxp.com> | Fri Jan 11 07:09:02 2019 +0000 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Tue Feb 05 23:11:31 2019 +0100 |
tree | 078ba7bf72ac4fae669e1e36e6013a88c32df3a7 | |
parent | f0c04c276739ed8acbb41b4868e942a55b128dca [diff] |
rtc: snvs: make sure clock is enabled for interrupt handle During system suspend, the SNVS RTC's clock will be disabled in noirq suspend phase, but SNVS RTC's alarm interrupt could still arrive, system will hang if SNVS RTC driver tries to access register without clock enabled, this patch fixes the issue of this scenario. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>