Re: [patch 2.6.26-git] pm selftest: rtc paranoia

From: Andrew Morton
Date: Fri Jul 25 2008 - 17:50:48 EST


On Fri, 25 Jul 2008 14:49:46 -0700
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/