Re: [PATCH] PM: Do not create wakeup sysfs files for devices thatcannot wake up (v2)

From: Greg KH
Date: Sun Feb 06 2011 - 14:13:52 EST


On Sun, Feb 06, 2011 at 07:53:17PM +0100, Rafael J. Wysocki wrote:
> On Sunday, February 06, 2011, Alan Stern wrote:
> > On Sun, 6 Feb 2011, Rafael J. Wysocki wrote:
> >
> > > Hi,
> > >
> > > Below is the next version of the patch changing the PM core to only create
> > > wakeup sysfs files for devices that are wakeup-capable. It contains a change
> > > in drivers/usb/core/hub.c that should avoid the problem described in the thread
> > > at https://lkml.org/lkml/2011/2/5/108 , but I'm not 100% it's the right
> > > approach. Please have a look.
> >
> > Yes, that's right -- in fact, it's exactly the same as what I was going
> > to do. Of course, it should be separated out into a separate patch, to
> > be applied before the other wakeup changes.
>
> OK, I'll split it out.
>
> Greg, any objections to me putting the change below into the suspend tree as
> a separate commit:

No objection from me at all:
Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

thanks,

greg k-h
--
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/