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)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 16 Jul 2020 09:27:03 +0000 (11:27 +0200)
commit4df2ef85f0efe44505f511ca5e4455585f53a2da
treede5715fbb7b91a76dfb78dabf78a56d302101c19
parentd3de4beb14a887754b83843bf23b6dbe8d022764
rtc: pl031: fix set_alarm by adding back call to alarm_irq_enable

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
drivers/rtc/rtc-pl031.c