]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pcf2123: implement read_offset and set_offset
authorJoshua Clayton <stillcompiling@gmail.com>
Fri, 5 Feb 2016 20:41:13 +0000 (12:41 -0800)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 14 Mar 2016 16:08:16 +0000 (17:08 +0100)
commit158d566404fb7958ee2ff68d938428e014f770e0
tree5e614db01c4a0a8eb9e892f22facd52893ff9e29
parent854534d272c5ed16e50a4e6b9342ff0d28c1504e
rtc: pcf2123: implement read_offset and set_offset

pcf2123 has an offset register, which can be used to make minor
adjustments to the clock rate to compensate for temperature or
a crystal that is not exactly right.

Signed-off-by: Joshua Clayton <stillcompiling@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-pcf2123.c