On 06/14/2013 09:52 AM, Alexander Holler wrote:
Some RTCs do provide a higher precision than seconds. Add support for them
by trying rtc_read_timeval() before using rtc_read_time() to get the time
in the hctosys mechanism.
[snip]
+ rc = rtc_read_timeval(rtc, );
+ if (rc ||
Some RTCs do provide a higher precision than seconds. Add support for them
by trying rtc_read_timeval() before using rtc_read_time() to get the time
in the hctosys mechanism.
Signed-off-by: Alexander Holler
---
drivers/rtc/class.c | 35 ---
1 file changed, 24
Some RTCs do provide a higher precision than seconds. Add support for them
by trying rtc_read_timeval() before using rtc_read_time() to get the time
in the hctosys mechanism.
Signed-off-by: Alexander Holler hol...@ahsoftware.de
---
drivers/rtc/class.c | 35 ---
1
On 06/14/2013 09:52 AM, Alexander Holler wrote:
Some RTCs do provide a higher precision than seconds. Add support for them
by trying rtc_read_timeval() before using rtc_read_time() to get the time
in the hctosys mechanism.
[snip]
+ rc = rtc_read_timeval(rtc, tv);
+ if (rc ||
4 matches
Mail list logo