]> err.no Git - linux-2.6/commit
rtc: rtc-sh: Correct sh_rtc_set_time() for some SH-3 parts.
authorMarkus Brunner <super.firetwister@gmail.com>
Thu, 26 Jul 2007 08:31:28 +0000 (17:31 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 26 Jul 2007 08:31:28 +0000 (17:31 +0900)
commit699bc6614f4d5a68b8840d4d859e9ca205530a77
treefa317784fa0910233be682e374de3170bb1ff997
parentd89ddd1c847637d91625c8cb6b0d064e1717057c
rtc: rtc-sh: Correct sh_rtc_set_time() for some SH-3 parts.

Some SH-3 parts (SH7720 and SH7705 at least) need to have the
start bit explicitly cleared, as the reset is not enough. This
is safe across all parts, so simply clear the start bit in
the sh_rtc_set_time() path.

Signed-off-by: Markus Brunner <super.firetwister@gmail.com>
Signed-off by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/rtc/rtc-sh.c