summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-mc146818-lib.c
diff options
context:
space:
mode:
authorRan Bi <ran.bi@mediatek.com>2019-12-11 17:43:54 +0800
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-12-11 13:22:54 +0100
commit653997eeecef95c3ead4fba1b2d27e6a5854d6cd (patch)
tree3212dfd04090fdf3c89ebabfdb097843f28b48ee /drivers/rtc/rtc-mc146818-lib.c
parent111bf02b8f544f98de53ea1f912ae01f598b161b (diff)
downloadlinux-653997eeecef95c3ead4fba1b2d27e6a5854d6cd.tar.gz
linux-653997eeecef95c3ead4fba1b2d27e6a5854d6cd.tar.bz2
linux-653997eeecef95c3ead4fba1b2d27e6a5854d6cd.zip
rtc: mt6397: fix alarm register overwrite
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@mediatek.com> Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com> Link: https://lore.kernel.org/r/1576057435-3561-6-git-send-email-hsin-hsiung.wang@mediatek.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-mc146818-lib.c')
0 files changed, 0 insertions, 0 deletions