]> git.baikalelectronics.ru Git - kernel.git/commit
rtc_hctosys expects RTCs in UTC (doc)
authorDavid Brownell <david-b@pacbell.net>
Thu, 15 Nov 2007 00:58:29 +0000 (16:58 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:36 +0000 (18:45 -0800)
commit40760bc2eafe7bcd63a6cee2cad2c294a1ac9a1a
treea520bb7e98dd09c312d8a9f94ef1058a15543ffe
parentc7c17d94c8e496941340cf2449fc4c8c9a68fc05
rtc_hctosys expects RTCs in UTC (doc)

The RTC "hctosys" mechanism expects that RTC clock will use UTC, not local
time (e.g.  PST).  Say so in Kconfig and in the kernel message.

(Strictly speaking, the RTC clock should be tracking the POSIX epoch.  That's
not worth going into here.  Goofing timezones means clocks are wrong by many
hours; the POSIX-v-UTC differences just cost seconds.)

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/Kconfig
drivers/rtc/hctosys.c