From: David Barksdale Date: Wed, 19 Apr 2006 05:20:27 +0000 (-0700) Subject: [PATCH] m41t00: fix bitmasks when writing to chip X-Git-Tag: v2.6.17-rc3~123 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8db08de4f6ae24e90aedf5125b5ddd52ffff15f4;p=pandora-kernel.git [PATCH] m41t00: fix bitmasks when writing to chip Fix the bitmasks used when writing to the M41T00 registers. The original code used a mask of 0x7f when writing to each register, this is incorrect and probably the result of a copy-paste error. As a result years from 1980 to 1999 will be read back as 2000 to 2019. Signed-off-by: David Barksdale Acked-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed