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

From: Alexandre Belloni
Date: Tue Feb 05 2019 - 17:10:55 EST


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@xxxxxxx>
> ---
> drivers/rtc/rtc-snvs.c | 6 ++++++
> 1 file changed, 6 insertions(+)
Applied, thanks.

--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com