]> git.karo-electronics.de Git - linux-beck.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)
commitbae2f647025549fd2a24f02e9587481a50c0066b
tree5e614db01c4a0a8eb9e892f22facd52893ff9e29
parent5495a4159f7413f0367e8c9727ba9facd40ade7f
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