Re: [PATCH] RTC classdev: Add sysfs support for wakeup alarm (r/w)

2006-12-19 Thread David Brownell
On Monday 18 December 2006 10:41 pm, Paul Sokolovsky wrote: > > Do you mean enable_irq_wake()/disable_irq_wake() calls? In what way > they are buggy? The only "bug" with them I see is that they are not > implemented for PXA, Notice how the number of enables and disables don't balance, and then

Re: [PATCH] RTC classdev: Add sysfs support for wakeup alarm (r/w)

2006-12-18 Thread Paul Sokolovsky
Hello David, Tuesday, December 19, 2006, 2:59:11 AM, you wrote: > On Monday 18 December 2006 4:54 pm, David Brownell wrote: >> > http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/drivers/rtc/rtc-sa1100.c.diff?r1=1.5&r2=1.6&f=h >> >> That patch you applied looks right to me -- why don't you

Re: [PATCH] RTC classdev: Add sysfs support for wakeup alarm (r/w)

2006-12-18 Thread David Brownell
On Monday 18 December 2006 4:54 pm, David Brownell wrote: > > http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/drivers/rtc/rtc-sa1100.c.diff?r1=1.5&r2=1.6&f=h > > That patch you applied looks right to me -- why don't you forward it > to Alessandro as a bugfix for 2.6.20-rc2, and save me the

Re: [PATCH] RTC classdev: Add sysfs support for wakeup alarm (r/w)

2006-12-18 Thread David Brownell
Hi Paul, On Monday 18 December 2006 3:58 pm, Paul Sokolovsky wrote: > Monday, December 18, 2006, 6:28:58 AM, you wrote: > > On Sunday 17 December 2006 11:30 am, Paul Sokolovsky wrote: > > >> Small battery-powered systems, like PDAs, need a way to be > >> suspended most of the time and woken u

Re: [PATCH] RTC classdev: Add sysfs support for wakeup alarm (r/w)

2006-12-18 Thread Paul Sokolovsky
Hello David, Monday, December 18, 2006, 6:28:58 AM, you wrote: > On Sunday 17 December 2006 11:30 am, Paul Sokolovsky wrote: >> Small battery-powered systems, like PDAs, need a way to be >> suspended most of the time and woken up just from time to time to >> process pending tasks. > Sounds

Re: [PATCH] RTC classdev: Add sysfs support for wakeup alarm (r/w)

2006-12-17 Thread David Brownell
On Sunday 17 December 2006 11:30 am, Paul Sokolovsky wrote: > Small battery-powered systems, like PDAs, need a way to be > suspended most of the time and woken up just from time to time to > process pending tasks. Sounds like you're thinking of this from a userspace perspective... Could you

[PATCH] RTC classdev: Add sysfs support for wakeup alarm (r/w)

2006-12-17 Thread Paul Sokolovsky
Hello linux-kernel, Informal part = Small battery-powered systems, like PDAs, need a way to be suspended most of the time and woken up just from time to time to process pending tasks. Obvious way to achieve this is to use timer, or alarm, wakeup. Unfortunately, this matter is bit