]> git.hungrycats.org Git - linux/commit
[PATCH] RTC alarm and wildcards
authorRusty Russell <rusty@rustcorp.com.au>
Sun, 9 Feb 2003 10:59:32 +0000 (02:59 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 9 Feb 2003 10:59:32 +0000 (02:59 -0800)
commite47548f1e57df617f6d54353c63ad20f7fb1cff8
treecf53bf738fde024be9ec877e8ac3ad153f40cb01
parentb2e686022bb48ec2ad5ced849177328bbbe93681
[PATCH] RTC alarm and wildcards

(Included in 2.4)
From:  Paul Gortmaker <p_gortmaker@yahoo.com>

  Summary: Wildcards in RTC alarm settings failed to work

  Description:
   The RTC has provision for wildcards when setting the alarm; to
   use them you have to write a value higher than 0xc0 to the
   appropriate hr/min/sec entry.  The driver used 0xff, which is
   fine, but it mistakenly fed the 0xff through BIN_TO_BCD before
   writing them (which is < 0xc0) and so wildcards didn't work.
   (Thanks to Gerhard Kurz for reporting the bug.)
drivers/char/rtc.c