Re: [PATCH] rtc: snvs: make sure clock is enabled for interrupt handle

2019-02-05 Thread Alexandre Belloni
On 11/01/2019 07:09:02+, 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

RE: [PATCH] rtc: snvs: make sure clock is enabled for interrupt handle

2019-01-13 Thread Anson Huang
imx > Subject: Re: [PATCH] rtc: snvs: make sure clock is enabled for interrupt > handle > > Hi, > > On 11/01/2019 07:09:02+, Anson Huang wrote: > > During system suspend, the SNVS RTC's clock will be disabled in noirq > > suspend phase, but SNVS RTC's alarm in

Re: [PATCH] rtc: snvs: make sure clock is enabled for interrupt handle

2019-01-11 Thread Alexandre Belloni
Hi, On 11/01/2019 07:09:02+, 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

[PATCH] rtc: snvs: make sure clock is enabled for interrupt handle

2019-01-10 Thread Anson Huang
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 ---