From: Jan Kardell Date: Wed, 10 Dec 2014 23:53:34 +0000 (-0800) Subject: rtc: pcf8563: fix write of invalid bits to ST2 reg X-Git-Tag: omap-for-v3.19/fixes-rc1~142^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45ef0458fb2b931962f8558e1fd145e63ea990ab;p=pandora-kernel.git rtc: pcf8563: fix write of invalid bits to ST2 reg The NXP datasheet says: "Bits labeled as N should always be written with logic 0." At least one of those bits is sometime read as a 1, therfore violating this rule. To fix this we mask away those bits. Signed-off-by: Jan Kardell Cc: Alessandro Zummo Cc: Grant Likely Cc: Rob Herring Cc: Vincent Donnefort Cc: Dan Carpenter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed