On 21/03/2020 19:50:17+0800, 韩科才 wrote: > Clear alarm register when alarm is not enabled otherwise the consumer > may still start alarm timer if it find the alarm register is not zero. > > Signed-off-by: hankecai <hankecai@xxxxxxxx> > --- > drivers/rtc/rtc-pm8xxx.c | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/drivers/rtc/rtc-pm8xxx.c b/drivers/rtc/rtc-pm8xxx.c Because the other one doesn't apply, I've applied that one. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com