Revert "rtc: Disable the alarm in the hardware"
authorLinus Torvalds <[email protected]>
Wed, 4 Jan 2012 01:32:13 +0000 (17:32 -0800)
committerLinus Torvalds <[email protected]>
Wed, 4 Jan 2012 01:32:13 +0000 (17:32 -0800)
commit157e8bf8b4823bfcdefa6c1548002374b61f61df
treefb3918eeb8635b7ea6662ef2290dc834efc81b70
parentf9fab10bbd768b0e5254e53a4a8477a94bfc4b96
Revert "rtc: Disable the alarm in the hardware"

This reverts commit c0afabd3d553c521e003779c127143ffde55a16f.

It causes failures on Toshiba laptops - instead of disabling the alarm,
it actually seems to enable it on the affected laptops, resulting in
(for example) the laptop powering on automatically five minutes after
shutdown.

There's a patch for it that appears to work for at least some people,
but it's too late to play around with this, so revert for now and try
again in the next merge window.

See for example

http://bugs.debian.org/652869

Reported-and-bisected-by: Andreas Friedrich <[email protected]> (Toshiba Tecra)
Reported-by: Antonio-M. Corbi Bellot <[email protected]> (Toshiba Portege R500)
Reported-by: Marco Santos <[email protected]> (Toshiba Portege Z830)
Reported-by: Christophe Vu-Brugier <[email protected]> (Toshiba Portege R830)
Cc: Jonathan Nieder <[email protected]>
Requested-by: John Stultz <[email protected]>
Cc: [email protected] # for the versions that applied this
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/interface.c