summaryrefslogtreecommitdiffstats
path: root/fs/ufs
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2007-02-08 23:20:24 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-09 18:25:46 +0100
commitcbb9450234fb28f60fea36520cd710a988ac5812 (patch)
tree341a4886dce7a4fd91b651d55a309ed69d6ff262 /fs/ufs
parentMerge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-tc (diff)
downloadlinux-cbb9450234fb28f60fea36520cd710a988ac5812.tar.xz
linux-cbb9450234fb28f60fea36520cd710a988ac5812.zip
[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>
Diffstat (limited to 'fs/ufs')
0 files changed, 0 insertions, 0 deletions