]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: m41t80: Workaround broken alarm functionality
authorJohn Stultz <john.stultz@linaro.org>
Mon, 12 Dec 2011 21:57:52 +0000 (13:57 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 13 Dec 2011 20:26:24 +0000 (12:26 -0800)
commitad4fc7380b6f1b89626a31837d1d64aeddd7f60f
treea37fa11f7341f765e66fa9091ea6a75e66431308
parent605ca9c697a277b76ddea30fe8bdea48fc957dbf
rtc: m41t80: Workaround broken alarm functionality

The m41t80 driver can read and set the alarm, but it doesn't
seem to have a functional alarm irq.

This causes failures when the generic core sees alarm functions,
but then cannot use them properly for things like UIE mode.

Disabling the alarm functions allows proper error reporting,
and possible fallback to emulated modes. Once someone fixes
the alarm irq functionality, this can be restored.

CC: stable@kernel.org
CC: Matt Turner <mattst88@gmail.com>
CC: Nico Macrionitis <acrux@cruxppc.org>
CC: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Reported-by: Matt Turner <mattst88@gmail.com>
Reported-by: Nico Macrionitis <acrux@cruxppc.org>
Tested-by: Nico Macrionitis <acrux@cruxppc.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/rtc/rtc-m41t80.c