summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorRan Bi <ran.bi@mediatek.com>2019-12-11 17:43:54 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-17 19:45:44 +0100
commitf1545409a5e179e4bc94a0fc28eebb61b2e1ff33 (patch)
tree1647f0ef3086785b62fd954ef28e2284d902d320 /drivers/infiniband/hw
parent573e1fe003c1e2016bc40cc4f2b231e3b8c990f8 (diff)
downloadlinux-stable-f1545409a5e179e4bc94a0fc28eebb61b2e1ff33.tar.gz
linux-stable-f1545409a5e179e4bc94a0fc28eebb61b2e1ff33.tar.bz2
linux-stable-f1545409a5e179e4bc94a0fc28eebb61b2e1ff33.zip
rtc: mt6397: fix alarm register overwrite
commit 653997eeecef95c3ead4fba1b2d27e6a5854d6cd upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/infiniband/hw')
0 files changed, 0 insertions, 0 deletions