Re: [PATCH v7 5/6] rtc: mt6397: fix alarm register overwrite

From: Alexandre Belloni
Date: Wed Dec 11 2019 - 07:25:21 EST


On 11/12/2019 17:43:54+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>
> Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang@xxxxxxxxxxxx>
> ---
> drivers/rtc/rtc-mt6397.c | 39 +++++++++++++++++++++++++--------------
> include/linux/mfd/mt6397/rtc.h | 8 ++++++++
> 2 files changed, 33 insertions(+), 14 deletions(-)
>

Applied to rtc-fixes. I'm not sure why you used my previous email
address though, v6 had the correct one.

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