Re: [RFC] input: syfs switches for SKE keypad

Alan Stern
2010-10-13T17:37:54Z

On Wed, 13 Oct 2010, Sundar wrote:

> On Wed, Oct 13, 2010 at 7:40 PM, Alan Stern <stern@rowland.harvard.edu> wrote:
> >
> > Absolutely.  Another point worth mentioning is that a device in
> > runtime-suspend can be resumed at any time, for a variety of reasons
> > unconnected with anything the user does.  While it is back at full
> > power, there is nothing to stop it from generating events.
> >
>
> Well, so are you still aligned that we can support low power or enable/disable
> switches for devices via the standard PM helpers; even if it is the "accelerated
> suspend" way ( if Rafael thinks otherwise)

Sorry, I don't quite understand your question. I think it would be
okay to add an interface for userspace to cut short a runtime-suspend
delay, but I don't think anything more is needed.

Alan Stern