Messages in this thread | | | Date | Tue, 5 Feb 2019 23:10:34 +0100 | From | Alexandre Belloni <> | Subject | Re: [PATCH] rtc: snvs: make sure clock is enabled for interrupt handle |
| |
On 11/01/2019 07:09:02+0000, Anson Huang wrote: > 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> > --- > drivers/rtc/rtc-snvs.c | 6 ++++++ > 1 file changed, 6 insertions(+) Applied, thanks.
-- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
| |