Re: [patch 2.6.20-rc3 1/3] rtc-cmos driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matthew Garrett
Date: Monday, May 28, 2007 - 11:35 am

On Fri, Jan 05, 2007 at 10:01:57AM -0800, David Brownell wrote:

Sorry for getting to this so late - I've only just started playing with 
this driver.


This is awkward. At the very least, year will be set to -1. This then 
gets passed through to rtc_tm_to_time, which results in reading 
wakealarm providing very odd feedback. I guess the "right" fix is for 
rtc_tm_to_time to use the current values for anything that's -1?


Do you really want to clobber RTC_AIE on probe? If an alarm has been set 
by the BIOS, it seems a little unfair to disable it on boot.

-- 
Matthew Garrett | mjg59@srcf.ucam.org
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 2.6.20-rc3 1/3] rtc-cmos driver, David Brownell, (Fri Jan 5, 11:01 am)
Re: [patch 2.6.20-rc3 1/3] rtc-cmos driver, Alessandro Zummo, (Fri Jan 5, 1:45 pm)
Re: [patch 2.6.20-rc3 1/3] rtc-cmos driver, David Brownell, (Fri Jan 5, 8:10 pm)
Re: [patch 2.6.20-rc3 1/3] rtc-cmos driver, David Brownell, (Fri Jan 5, 8:33 pm)
Re: [patch 2.6.20-rc3 1/3] rtc-cmos driver, Woody Suwalski, (Sat Jan 6, 10:17 am)
Re: [patch 2.6.20-rc3 1/3] rtc-cmos driver, David Brownell, (Sat Jan 6, 2:17 pm)
Re: [patch 2.6.20-rc3 1/3] rtc-cmos driver, Russell King, (Sun Jan 7, 2:02 am)
Re: [patch 2.6.20-rc3 1/3] rtc-cmos driver, Woody Suwalski, (Tue Jan 9, 9:37 am)
Re: [patch 2.6.20-rc3 1/3] rtc-cmos driver, David Brownell, (Tue Jan 9, 5:01 pm)
Re: [patch 2.6.20-rc3 1/3] rtc-cmos driver, David Brownell, (Tue Jan 9, 10:27 pm)
Re: [patch 2.6.20-rc3 1/3] rtc-cmos driver, Matthew Garrett, (Mon May 28, 11:35 am)
Re: [patch 2.6.20-rc3 1/3] rtc-cmos driver, David Brownell, (Mon May 28, 2:07 pm)