Re: [PATCH v2 8/9] rtc: mt6397: fix alarm register overwrite
From: Eddie Huang
Date: Mon Mar 11 2019 - 02:05:16 EST
On Mon, 2019-03-11 at 11:46 +0800, Hsin-Hsiung Wang wrote:
> From: Ran Bi <ran.bi@xxxxxxxxxxxx>
>
> Alarm registers high byte was reserved for other functions.
> This add mask in alarm registers operation functions.
> This also fix error condition in interrupt handler.
>
> Fixes: fc2979118f3f ("rtc: mediatek: Add MT6397 RTC driver")
>
> Signed-off-by: Ran Bi <ran.bi@xxxxxxxxxxxx>
> ---
> drivers/rtc/rtc-mt6397.c | 47 +++++++++++++++++++++++++++++++++--------------
> 1 file changed, 33 insertions(+), 14 deletions(-)
>
Thanks your interrupt and race condition fix
Acked-by: Eddie Huang <eddie.huang@xxxxxxxxxxxx>