From: Andrew Morton Date: Mon, 30 Jul 2012 21:41:47 +0000 (-0700) Subject: drivers/rtc/rtc-r9701.c: check that r9701_set_datetime() succeeded X-Git-Tag: v3.6-rc1~41^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e74b6edc9b7befd9f7a61b9271384eeb1eb8251;p=pandora-kernel.git drivers/rtc/rtc-r9701.c: check that r9701_set_datetime() succeeded When the driver detects that the clock time is invalid, it attempts to write a sane time into the hardware. We curently assume that everything is OK if those writes succeeded. But it is better to re-read the time from the hardware to ensure that the new settings got there OK. Cc: Devendra Naga Cc: Alessandro Zummo Cc: Anatolij Gustschin Cc: Andreas Dumberger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed