Feng Tang
57e6319dd6
vrtc: change its year offset from 1960 to 1972
...
Real world year equals the value in vrtc YEAR register plus an offset.
We used 1960 as the offset to make leap year consistent, but for a
device's first use, its YEAR register is 0 and the system year will
be parsed as 1960 which is not a valid UNIX time and will cause many
applications to fail mysteriously. So we use 1972 instead to fix this
issue.
Updated patch which adds a sanity check suggested by Mathias
This isn't a change in behaviour for systems, because 1972 is the one we
actually use. It's the old version in upstream which is out of sync with
all devices.
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-11-11 23:58:58 -02:00
..
class.c
drivers/rtc/class.c: convert idr to ida and use ida_simple_get()
2011-11-02 16:06:58 -07:00
hctosys.c
interface.c
rtc: Add module.h to implicit users in drivers/rtc
2011-10-31 19:31:28 -04:00
Kconfig
um: switch to use of drivers/Kconfig
2011-11-02 14:15:41 +01:00
Makefile
drivers/rtc: add support for Qualcomm PMIC8xxx RTC
2011-07-25 20:57:17 -07:00
rtc-88pm860x.c
rtc-ab3100.c
rtc-ab8500.c
rtc-at32ap700x.c
treewide: Convert uses of struct resource to resource_size(ptr)
2011-06-10 14:55:36 +02:00
rtc-at91rm9200.c
rtc-at91sam9.c
rtc-au1xxx.c
rtc-bfin.c
rtc-bq32k.c
rtc-bq4802.c
rtc-cmos.c
treewide: Convert uses of struct resource to resource_size(ptr)
2011-06-10 14:55:36 +02:00
rtc-coh901331.c
rtc-core.h
rtc-davinci.c
rtc-dev.c
rtc: Fix ioctl error path return
2011-06-01 19:29:39 -07:00
rtc-dm355evm.c
rtc: Add module.h to implicit users in drivers/rtc
2011-10-31 19:31:28 -04:00
rtc-ds1216.c
rtc-ds1286.c
treewide: Convert uses of struct resource to resource_size(ptr)
2011-06-10 14:55:36 +02:00
rtc-ds1302.c
rtc-ds1305.c
rtc: Add module.h to implicit users in drivers/rtc
2011-10-31 19:31:28 -04:00
rtc-ds1307.c
rtc: add initial support for mcp7941x parts
2011-11-02 16:06:58 -07:00
rtc-ds1374.c
rtc-ds1390.c
rtc-ds1511.c
rtc: Add module.h to implicit users in drivers/rtc
2011-10-31 19:31:28 -04:00
rtc-ds1553.c
rtc: Add module.h to implicit users in drivers/rtc
2011-10-31 19:31:28 -04:00
rtc-ds1672.c
rtc: Add module.h to implicit users in drivers/rtc
2011-10-31 19:31:28 -04:00
rtc-ds1742.c
rtc: Add module.h to implicit users in drivers/rtc
2011-10-31 19:31:28 -04:00
rtc-ds3232.c
rtc-ds3234.c
rtc-efi.c
rtc-em3027.c
rtc: Add module.h to implicit users in drivers/rtc
2011-10-31 19:31:28 -04:00
rtc-ep93xx.c
rtc: ep93xx: Fix 'rtc' may be used uninitialized warning
2011-08-10 15:54:24 -07:00
rtc-fm3130.c
rtc-generic.c
rtc-imxdi.c
drivers/rtc/rtc-imxdi.c needs linux/sched.h
2011-09-14 18:09:37 -07:00
rtc-isl1208.c
rtc-isl12022.c
rtc: Add module.h to implicit users in drivers/rtc
2011-10-31 19:31:28 -04:00
rtc-jz4740.c
rtc-lib.c
rtc: Initialized rtc_time->tm_isdst
2011-08-26 17:26:35 -07:00
rtc-lpc32xx.c
rtc-m41t80.c
rtc-m41t93.c
spi/rtc-m41t93: Use spi_get_drvdata() for SPI devices
2011-06-08 14:33:48 -06:00
rtc-m41t94.c
rtc-m48t35.c
treewide: Convert uses of struct resource to resource_size(ptr)
2011-06-10 14:55:36 +02:00
rtc-m48t59.c
treewide: Convert uses of struct resource to resource_size(ptr)
2011-06-10 14:55:36 +02:00
rtc-m48t86.c
rtc-max6900.c
rtc-max6902.c
rtc-max8925.c
rtc-max8998.c
rtc-mc13xxx.c
drivers/rtc/rtc-mc13xxx.c: move probe and remove callbacks to .init.text and .exit.text
2011-11-02 16:06:58 -07:00
rtc-mpc5121.c
drivers/rtc/rtc-mpc5121.c: add support for RTC on MPC5200
2011-07-25 20:57:17 -07:00
rtc-mrst.c
vrtc: change its year offset from 1960 to 1972
2011-11-11 23:58:58 -02:00
rtc-msm6242.c
rtc-mv.c
rtc: Add module.h to implicit users in drivers/rtc
2011-10-31 19:31:28 -04:00
rtc-mxc.c
drivers/rtc/rtc-mxc.c: remove defines already included in rtc.h
2011-05-26 17:12:33 -07:00
rtc-nuc900.c
rtc-omap.c
rtc-omap: fix initialization of control register
2011-08-03 14:25:20 -10:00
rtc-pcap.c
rtc-pcf2123.c
rtc: Add module.h to implicit users in drivers/rtc
2011-10-31 19:31:28 -04:00
rtc-pcf8563.c
rtc: Add module.h to implicit users in drivers/rtc
2011-10-31 19:31:28 -04:00
rtc-pcf8583.c
rtc-pcf50633.c
drivers/rtc/rtc-pcf50633.c: don't request update IRQ
2011-05-26 17:12:33 -07:00
rtc-pl030.c
rtc-pl031.c
rtc-pm8xxx.c
drivers/rtc: add support for Qualcomm PMIC8xxx RTC
2011-07-25 20:57:17 -07:00
rtc-proc.c
rtc-ps3.c
rtc-puv3.c
treewide: Convert uses of struct resource to resource_size(ptr)
2011-06-10 14:55:36 +02:00
rtc-pxa.c
rtc-r9701.c
rtc-rp5c01.c
rtc-rs5c313.c
rtc-rs5c348.c
rtc: Add module.h to implicit users in drivers/rtc
2011-10-31 19:31:28 -04:00
rtc-rs5c372.c
rtc: Add module.h to implicit users in drivers/rtc
2011-10-31 19:31:28 -04:00
rtc-rv3029c2.c
rtc-rx8025.c
rtc-rx8581.c
rtc-s3c.c
drivers/rtc/rtc-s3c.c: fix no occurrence of alarm interrupt
2011-09-14 18:09:38 -07:00
rtc-s35390a.c
rtc-sa1100.c
rtc-sh.c
rtc-spear.c
rtc-starfire.c
rtc-stk17ta8.c
rtc: Add module.h to implicit users in drivers/rtc
2011-10-31 19:31:28 -04:00
rtc-stmp3xxx.c
rtc: stmp3xxx: Remove UIE handlers
2011-07-01 18:09:57 -07:00
rtc-sun4v.c
rtc-sysfs.c
rtc-tegra.c
drivers/rtc/rtc-tegra.c: properly initialize spinlock
2011-07-25 20:57:17 -07:00
rtc-test.c
rtc-tile.c
rtc-twl.c
rtc: twl: Fix registration vs. init order
2011-08-26 17:26:54 -07:00
rtc-tx4939.c
rtc: Add module.h to implicit users in drivers/rtc
2011-10-31 19:31:28 -04:00
rtc-v3020.c
rtc-vr41xx.c
rtc-vt8500.c
rtc: vt8500: Use define instead of hardcoded value for status bit
2011-07-01 17:59:36 -07:00
rtc-wm831x.c
rtc-wm8350.c
rtc-x1205.c
rtc: Add module.h to implicit users in drivers/rtc
2011-10-31 19:31:28 -04:00