]> www.infradead.org Git - linux.git/commit
rtc: tps65910: allow using RTC without alarm interrupt
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Sat, 16 Nov 2019 20:37:48 +0000 (23:37 +0300)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 17 Nov 2019 21:24:33 +0000 (22:24 +0100)
commitdb96d571a7c2207ff27ad2c46a82b26d870f9bdc
tree6d363cdead101613fde57c6505af54d01776c39f
parent5ba03f8f681a8c894514c55cf7a9027ef897590e
rtc: tps65910: allow using RTC without alarm interrupt

If tps65910 INT1 pin (IRQ output) is not wired to any IRQ controller,
then it can't be used as system wakeup/alarm source,
but it is still possible to read/write time from/to RTC.

Signed-off-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
Link: https://lore.kernel.org/r/20191116203748.27166-1-andrej.skvortzov@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-tps65910.c