]> git.itanic.dy.fi Git - linux-stable/commit
rtc: pl031: fix set_alarm by adding back call to alarm_irq_enable
authorSudeep Holla <sudeep.holla@arm.com>
Tue, 14 Jul 2020 12:45:56 +0000 (13:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Aug 2020 11:07:35 +0000 (13:07 +0200)
commit09a4844eca9e7a4d12a73b77c042b1c972b228c2
tree610428c87b6bfd01d0670567cae8511d781a6478
parent6616b75394ac63630cd2b61051685202868c417f
rtc: pl031: fix set_alarm by adding back call to alarm_irq_enable

[ Upstream commit 4df2ef85f0efe44505f511ca5e4455585f53a2da ]

Commit c8ff5841a90b ("rtc: pl031: switch to rtc_time64_to_tm/rtc_tm_to_time64")
seemed to have accidentally removed the call to pl031_alarm_irq_enable
from pl031_set_alarm while switching to 64-bit apis.

Let us add back the same to get the set alarm functionality back.

Fixes: c8ff5841a90b ("rtc: pl031: switch to rtc_time64_to_tm/rtc_tm_to_time64")
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Tested-by: Valentin Schneider <valentin.schneider@arm.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20200714124556.20294-1-sudeep.holla@arm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/rtc/rtc-pl031.c