From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: [RFC] Add extra PM_EVENT_* codes for use by subsystems Date: Sun, 2 Mar 2008 19:16:12 +0100 Message-ID: <200803021916.13041.rjw@sisk.pl> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Alan Stern Cc: Linux-pm mailing list , Alexey Starikovskiy List-Id: linux-pm@vger.kernel.org On Sunday, 2 of March 2008, Alan Stern wrote: > On Sun, 2 Mar 2008, Rafael J. Wysocki wrote: > > > On Friday, 29 of February 2008, Alan Stern wrote: > > > Is there any objection to adding extra PM_EVENT_* codes? Although they > > > won't ever be issued by the PM core, they will come in handy for > > > internal uses in power-aware subsystems (like USB). > > > > Well, this is in a (slight) conflict with the hibernation/suspend callbacks > > rework that I'm working on with Alex. I'll send the first patch in a few > > minutes for comments. > > If you want to add my new codes to yours, that would be fine. Or I > could wait until after your new callbacks are merged before submitting > the new event codes. Whatever you think is best. That should be two different patches, I think. If you could wait for the new callbacks, that would be better from my standpoint (we may decide to add some more callbacks and therefore some more PM_EVENT_* codes, for example). Thanks, Rafael