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

From: Alan Stern
Date: Sun Feb 06 2011 - 10:29:29 EST


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.

Alan Stern

--
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/