Huacai Chen 22f8d5a1bf rtc: goldfish: Enable interrupt in set_alarm() when necessary
When use goldfish rtc, the "hwclock" command fails with "select() to
/dev/rtc to wait for clock tick timed out". This is because "hwclock"
need the set_alarm() hook to enable interrupt when alrm->enabled is
true. This operation is missing in goldfish rtc (but other rtc drivers,
such as cmos rtc, enable interrupt here), so add it.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/1592654683-31314-1-git-send-email-chenhc@lemote.com
2020-07-16 11:15:43 +02:00
..
2020-06-07 16:11:23 -07:00
2020-04-07 19:48:52 -07:00
2020-04-04 10:38:01 -07:00
2020-07-02 22:32:00 +02:00
2019-11-08 16:14:09 +01:00
2019-07-17 10:03:50 -07:00
2020-07-02 22:32:01 +02:00
2019-11-08 16:14:09 +01:00
2019-12-03 13:31:08 -08:00
2019-12-23 11:23:53 +01:00
2019-04-04 10:07:10 +02:00
2019-10-19 22:33:05 +02:00
2019-11-08 16:14:09 +01:00
2019-05-23 17:44:52 +02:00
2020-03-16 11:12:08 +01:00
2019-05-08 22:14:36 +02:00