[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200702120124.51180.rjw@sisk.pl>
Date: Mon, 12 Feb 2007 01:24:50 +0100
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: Alan <alan@...rguk.ukuu.org.uk>
Cc: Pavel Machek <pavel@....cz>,
Arjan van de Ven <arjan@...radead.org>,
nigel@...el.suspend2.net, LKML <linux-kernel@...r.kernel.org>
Subject: Re: NAK new drivers without proper power management?
On Monday, 12 February 2007 01:28, Alan wrote:
> > +PM support: Since Linux is used on many portable and desktop systems, your
> > + driver is likely to be used on such a system and therefore it
> > + should support basic power management by implementing, if
> > + necessary, the .suspend and .resume methods used during the
> > + system-wide suspend and resume transitions. You should verify
> > + that your driver correctly handles the suspend and resume, but
> > + if you are unable to ensure that, please at least define the
> > + .suspend method returning the -ENOSYS ("Function not
> > + implemented") error. Note, however, that in such a case your
> > + submission is likely to be suspended and only resumed when the
> > + driver correctly handles this feature.
>
> I'd lose the last bit. Just end it at "error.", there are going to be
> people who produce good reasons not to handle suspend/resume.
OK, I will.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists