android_kernel_xiaomi_sm8350/drivers/rtc
Atsushi Nemoto cbb9450234 [PATCH] rtc-pcf8563: detect polarity of century bit automatically
The usage of the century bit was inverted on 2.6.19 following to PCF8563's
description, but it was not match to usage suggested by RTC8564's
datasheet.  Anyway what MO_C=1 means can vary on each platform.  This patch
is to detect its polarity in get_datetime routine.  The default value of
c_polarity is 0 (MO_C=1 means 19xx) so that this patch does not change
current behavior even if get_datetime was not called before set_datetime.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@teamlog.com>
Cc: <stable@kernel.org>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-09 09:25:46 -08:00
..
class.c
hctosys.c
interface.c [PATCH] rtc class locking bugfixes 2006-11-25 13:28:33 -08:00
Kconfig [PATCH] AT91RM9200 RTC 2006-12-10 09:55:40 -08:00
Makefile [PATCH] AT91RM9200 RTC 2006-12-10 09:55:40 -08:00
rtc-at91rm9200.c [PATCH] rtc-at91rm9200 build fix 2007-01-05 23:55:22 -08:00
rtc-dev.c [PATCH] trivial __user annotations - rtc-dev 2007-02-09 09:14:06 -08:00
rtc-ds1307.c
rtc-ds1553.c [PATCH] rtc class locking bugfixes 2006-11-25 13:28:33 -08:00
rtc-ds1672.c [PATCH] RTCs don't use i2c_adapter.dev 2006-12-10 09:55:40 -08:00
rtc-ds1742.c [PATCH] rtc: ds1743 support 2006-12-07 08:39:43 -08:00
rtc-ep93xx.c
rtc-isl1208.c
rtc-lib.c [PATCH] rtc: Add rtc_merge_alarm() 2006-12-10 09:55:40 -08:00
rtc-m48t86.c
rtc-max6902.c
rtc-omap.c [PATCH] rtc framewok: rtc_wkalrm.enabled reporting updates 2006-12-13 09:05:52 -08:00
rtc-pcf8563.c [PATCH] rtc-pcf8563: detect polarity of century bit automatically 2007-02-09 09:25:46 -08:00
rtc-pcf8583.c
rtc-pl031.c
rtc-proc.c [PATCH] rtc framewok: rtc_wkalrm.enabled reporting updates 2006-12-13 09:05:52 -08:00
rtc-rs5c348.c
rtc-rs5c372.c [PATCH] Update the rtc-rs5c372 driver 2007-01-05 23:55:23 -08:00
rtc-s3c.c [PATCH] rtc framewok: rtc_wkalrm.enabled reporting updates 2006-12-13 09:05:52 -08:00
rtc-sa1100.c [PATCH] rtc framewok: rtc_wkalrm.enabled reporting updates 2006-12-13 09:05:52 -08:00
rtc-sh.c [PATCH] rtc-sh: act on rtc_wkalrm.enabled when setting an alarm 2007-01-23 07:52:06 -08:00
rtc-sysfs.c [PATCH] remove __devinit markings from rtc_sysfs_add_device() 2007-01-26 13:51:00 -08:00
rtc-test.c [PATCH] RTC: handle sysfs errors 2006-12-07 08:39:31 -08:00
rtc-v3020.c
rtc-vr41xx.c
rtc-x1205.c [PATCH] RTCs don't use i2c_adapter.dev 2006-12-10 09:55:40 -08:00