Re: [PATCH] usb: Add support for runtime power management of the hcd

Rafael J. Wysocki
2009-11-16T22:24:44Z

On Monday 16 November 2009, Oliver Neukum wrote:
> Am Donnerstag, 12. November 2009 17:59:58 schrieb Matthew Garrett:
> > On Thu, Nov 12, 2009 at 06:00:02PM +0100, Oliver Neukum wrote:
> > > Exactly, but that isn't the same as needing two attributes exported to
> > > user space. That is an absolute requirement only if we can't tell what a
> > > device's capabilities are.
> >
> > Right. I don't see any reason for runtime wakeup to be exposed to
> > userspace - it's an entirely orthogonal concept to system wakeup. The
> > relevant userspace policy is whether or not runtime pm is enabled.
>
> That brings me to a possibly useless, wild idea. Do we want to tristate
> this? Is there any use in a "don't care" setting?

I'm not sure what the "don't care" value would be useful for.

Besides, I don't really like tristates. :-)

Thanks,
Rafael