lkml.org 
[lkml]   [2008]   [Jul]   [25]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 25 Jul 2008 14:50:23 -0700
FromAndrew Morton <>
SubjectRe: [patch 2.6.26-git] pm selftest: rtc paranoia
On Fri, 25 Jul 2008 14:49:46 -0700
Andrew Morton <akpm@linux-foundation.org> wrote:

> >  	}
> >  	if (status < 0)
> >  		printk(err_suspend, status);
> > +
> > +	/* Some platforms can't detect that the alarm triggered the
> > +	 * wakeup, or (accordingly) disable it after it afterwards.
> > +	 * It's supposed to give oneshot behavior; cope.
> > +	 */
> > +	alm.enabled = false;
> > +	rtc_set_alarm(rtc, &alm);
> >  }
> > 
> >  static int __init has_wakealarm(struct device *dev, void *name_ptr)
> 
> I assume this fixes some reported bug?  Any references?
> 
> Is this needed in 2.6.26.x?  2.6.25.x?

oh.  pm-selftest is new.  Ignore me.


\
 
 \ /
  Last update: 2008-07-25 23:53    [W:0.309 / U:0.040 seconds]
©2003-2008 Jasper Spaans