Commit dbb49a2b authored by John Stultz's avatar John Stultz Committed by Greg Kroah-Hartman
Browse files

rtc: m41t80: Workaround broken alarm functionality



commit c3b79770 upstream.

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: Matt Turner <mattst88@gmail.com>
CC: Nico Macrionitis <acrux@cruxppc.org>
CC: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Reported-by: default avatarMatt Turner <mattst88@gmail.com>
Reported-by: default avatarNico Macrionitis <acrux@cruxppc.org>
Tested-by: default avatarNico Macrionitis <acrux@cruxppc.org>
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent d853ba9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment