]> err.no Git - linux-2.6/commit
[PATCH] rtc-max6902: month conversion fix
authorFrancisco Larramendi <flarramendi@gmail.com>
Tue, 17 Oct 2006 07:09:53 +0000 (00:09 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Oct 2006 15:18:44 +0000 (08:18 -0700)
commitc430169e0c9f42f2cd27e0a6161e7ff4dc7e608d
tree9d91a42684644fdf76c8c7b0667beeb36b52dcf3
parentf9b2e97bea228739b74b541033b1119c5707200b
[PATCH] rtc-max6902: month conversion fix

Fix October-only BCD-to-binary conversion bug:

0x08 -> 7
0x09 -> 8
0x10 -> 15 (!)
0x11 -> 19

Fixes http://bugzilla.kernel.org/show_bug.cgi?id=7361

Cc: Raphael Assenat <raph@raphnet.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/rtc/rtc-max6902.c