lkml.org 
[lkml]   [2014]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2][RFC] Try to handle hctosys w/ rtc modules
Date
Its been pointed out that the RTC hctosys functionality doesn't
work well with RTC modules, which may not be loaded until after
late_init().

While there have been other attempts to sovle this, this patchset
is a very quick 10 minute effort to show how I'd try to resolve
this. There likely are still issues here, but I'd be happy to
make fixes and adjustments to ensure it works.

Feedback and comments always appreciated!

-john

Cc: John Whitmore <arigead@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexander Holler <holler@ahsoftware.de>

John Stultz (2):
time: Introduce do_first_settimeofday()
rtc: Rework hctosys so that it is called on RTC registration

drivers/rtc/class.c | 2 ++
drivers/rtc/hctosys.c | 19 +++++++----------
include/linux/rtc.h | 6 ++++++
include/linux/time.h | 2 ++
kernel/time/timekeeping.c | 54 ++++++++++++++++++++++++++++++++++++++---------
5 files changed, 62 insertions(+), 21 deletions(-)

--
1.9.1



\
 
 \ /
  Last update: 2014-06-27 20:01    [W:0.308 / U:0.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site