Re:Re: [PATCH] rtc: pm8xxx: clear alarm register when alarm is not enabled
From: éçæ
Date: Mon Mar 23 2020 - 06:54:05 EST
Hi,
Sure, thanks for your confirmation.
åääïAlexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
åéææï2020-03-23 05:33:31
æääï"éçæ" <hankecai@xxxxxxxx>
æéäïa.zummo@xxxxxxxxxxxx,linux-rtc@xxxxxxxxxxxxxxx,linux-kernel@xxxxxxxxxxxxxxx,trivial@xxxxxxxxxx,kernel@xxxxxxxx
äéïRe: [PATCH] rtc: pm8xxx: clear alarm register when alarm is not enabled>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