Re: [PATCH v4 1/3] rtc: Add functions to set and read rtc offset

2016-02-23 Thread Alexandre Belloni
Hi, On 23/02/2016 at 10:47:13 -0800, Joshua Clayton wrote : > On Fri, 5 Feb 2016 12:41:11 -0800 > Joshua Clayton wrote: > > Alexandre, > in case you didn't see, I made the change you requested. > The rtc_read_offset function checks for a read_offset function > and returns -EINVAL if not there,

Re: [PATCH v4 1/3] rtc: Add functions to set and read rtc offset

2016-02-23 Thread Joshua Clayton
On Fri, 5 Feb 2016 12:41:11 -0800 Joshua Clayton wrote: Alexandre, in case you didn't see, I made the change you requested. The rtc_read_offset function checks for a read_offset function and returns -EINVAL if not there, instead of an offset of 0. I just didn't put together a cover letter this t

[PATCH v4 1/3] rtc: Add functions to set and read rtc offset

2016-02-05 Thread Joshua Clayton
A number of rtc devices, such as the NXP pcf2123 include a facility to adjust the clock in order to compensate for temperature or a crystal, capacitor, etc, that results in the rtc clock not running at exactly 32.768 kHz. Data sheets I have seen refer to this as a clock offset, and measure it in p