]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pcf8563: don't alway enable the alarm
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 8 Nov 2017 04:27:45 +0000 (05:27 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 9 Nov 2017 00:16:36 +0000 (01:16 +0100)
commita847a55df180186551055664d92ee88059e99924
tree7ef162b3aa779803452774496a3261bc5baefd37
parentbb2ecc470595c7a6260a72bb6a08845617a5b740
rtc: pcf8563: don't alway enable the alarm

Allow setting the alarm and later enable it instead of enabling it
unconditionally.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-pcf8563.c