lkml.org 
[lkml]   [2008]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-pm] patch power_state-remove-it-from-usb.patch added to gregkh-2.6 tree
On Thu 2008-02-21 17:18:32, Alan Stern wrote:
> On Thu, 21 Feb 2008 gregkh@suse.de wrote:
>
> > This is a note to let you know that I've just added the patch titled
> >
> > Subject: power_state: remove it from usb
> >
> > to my gregkh-2.6 tree. Its filename is
> >
> > power_state-remove-it-from-usb.patch
> >
> > This tree can be found at
> > http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/
> >
> >
> > From pavel@ucw.cz Thu Feb 21 13:36:03 2008
> > From: Pavel Machek <pavel@ucw.cz>
> > Date: Thu, 21 Feb 2008 14:01:45 +0100
> > Subject: power_state: remove it from usb
> > To: kernel list <linux-kernel@vger.kernel.org>, Linux-pm mailing list <linux-pm@lists.osdl.org>, Greg KH <greg@kroah.com>, stern@rowland.harvard.edu, linux-usb@vger.kernel.org
> > Message-ID: <20080221130145.GA3789@elf.ucw.cz>
> > Content-Disposition: inline
> >
> >
> >
> > power_state is scheduled for removal, and it is used only write-only
> > by USB. Remove it.
>
> Greg, this patch is incomplete. Some of the settings that Pavel
> removed are used by the host controller drivers. Please revert this;
> I'll send a more complete patch later.

Alan is right, I was blind... and my config was not affected...
...
host/sl811-hcd.c: if (dev->dev.power.power_state.event == PM_EVENT_SUSPEND
misc/usbtest.c: if (intf->dev.power.power_state.event != PM_EVENT_ON) {
...

Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


\
 
 \ /
  Last update: 2008-02-21 23:25    [W:0.384 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site