Re: [PATCH] GPIO button wth wakeup attribute is supposed to wake the system up

2014-07-10 Thread Rafael J. Wysocki
On Thursday, July 10, 2014 10:27:46 AM Li, Aubrey wrote: > On 2014/7/9 20:45, Rafael J. Wysocki wrote: > > On Tuesday, July 08, 2014 05:54:35 PM Dmitry Torokhov wrote: > >> On Wed, Jul 09, 2014 at 02:59:33AM +0200, Rafael J. Wysocki wrote: > >>> On Tuesday, July 08, 2014 05:15:06 PM Dmitry Torokhov

Re: [PATCH] GPIO button wth wakeup attribute is supposed to wake the system up

2014-07-09 Thread Li, Aubrey
On 2014/7/9 20:45, Rafael J. Wysocki wrote: > On Tuesday, July 08, 2014 05:54:35 PM Dmitry Torokhov wrote: >> On Wed, Jul 09, 2014 at 02:59:33AM +0200, Rafael J. Wysocki wrote: >>> On Tuesday, July 08, 2014 05:15:06 PM Dmitry Torokhov wrote: On Wed, Jul 09, 2014 at 01:06:07AM +0200, Rafael J.

Re: [PATCH] GPIO button wth wakeup attribute is supposed to wake the system up

2014-07-09 Thread Rafael J. Wysocki
On Tuesday, July 08, 2014 05:54:35 PM Dmitry Torokhov wrote: > On Wed, Jul 09, 2014 at 02:59:33AM +0200, Rafael J. Wysocki wrote: > > On Tuesday, July 08, 2014 05:15:06 PM Dmitry Torokhov wrote: > > > On Wed, Jul 09, 2014 at 01:06:07AM +0200, Rafael J. Wysocki wrote: [cut] > > > > > > When devic

Re: [PATCH] GPIO button wth wakeup attribute is supposed to wake the system up

2014-07-08 Thread Dmitry Torokhov
On Wed, Jul 09, 2014 at 02:59:33AM +0200, Rafael J. Wysocki wrote: > On Tuesday, July 08, 2014 05:15:06 PM Dmitry Torokhov wrote: > > On Wed, Jul 09, 2014 at 01:06:07AM +0200, Rafael J. Wysocki wrote: > > > On Tuesday, July 08, 2014 03:11:14 PM Dmitry Torokhov wrote: > > > > On Tue, Jul 08, 2014 at

Re: [PATCH] GPIO button wth wakeup attribute is supposed to wake the system up

2014-07-08 Thread Rafael J. Wysocki
On Tuesday, July 08, 2014 05:15:06 PM Dmitry Torokhov wrote: > On Wed, Jul 09, 2014 at 01:06:07AM +0200, Rafael J. Wysocki wrote: > > On Tuesday, July 08, 2014 03:11:14 PM Dmitry Torokhov wrote: > > > On Tue, Jul 08, 2014 at 11:47:01PM +0200, Rafael J. Wysocki wrote: > > > > On Tuesday, July 08, 20

Re: [PATCH] GPIO button wth wakeup attribute is supposed to wake the system up

2014-07-08 Thread Dmitry Torokhov
On Wed, Jul 09, 2014 at 01:06:07AM +0200, Rafael J. Wysocki wrote: > On Tuesday, July 08, 2014 03:11:14 PM Dmitry Torokhov wrote: > > On Tue, Jul 08, 2014 at 11:47:01PM +0200, Rafael J. Wysocki wrote: > > > On Tuesday, July 08, 2014 02:12:59 PM Dmitry Torokhov wrote: > > > > On Tue, Jul 08, 2014 at

Re: [PATCH] GPIO button wth wakeup attribute is supposed to wake the system up

2014-07-08 Thread Rafael J. Wysocki
On Tuesday, July 08, 2014 03:11:14 PM Dmitry Torokhov wrote: > On Tue, Jul 08, 2014 at 11:47:01PM +0200, Rafael J. Wysocki wrote: > > On Tuesday, July 08, 2014 02:12:59 PM Dmitry Torokhov wrote: > > > On Tue, Jul 08, 2014 at 11:06:17PM +0200, Rafael J. Wysocki wrote: > > > > On Tuesday, July 08, 20

Re: [PATCH] GPIO button wth wakeup attribute is supposed to wake the system up

2014-07-08 Thread Dmitry Torokhov
On Tue, Jul 08, 2014 at 11:47:01PM +0200, Rafael J. Wysocki wrote: > On Tuesday, July 08, 2014 02:12:59 PM Dmitry Torokhov wrote: > > On Tue, Jul 08, 2014 at 11:06:17PM +0200, Rafael J. Wysocki wrote: > > > On Tuesday, July 08, 2014 01:45:30 PM Dmitry Torokhov wrote: > > > > On Tue, Jul 08, 2014 at

Re: [PATCH] GPIO button wth wakeup attribute is supposed to wake the system up

2014-07-08 Thread Rafael J. Wysocki
On Tuesday, July 08, 2014 02:12:59 PM Dmitry Torokhov wrote: > On Tue, Jul 08, 2014 at 11:06:17PM +0200, Rafael J. Wysocki wrote: > > On Tuesday, July 08, 2014 01:45:30 PM Dmitry Torokhov wrote: > > > On Tue, Jul 08, 2014 at 10:52:52PM +0200, Rafael J. Wysocki wrote: > > > > On Thursday, June 19, 2

Re: [PATCH] GPIO button wth wakeup attribute is supposed to wake the system up

2014-07-08 Thread Dmitry Torokhov
On Tue, Jul 08, 2014 at 11:06:17PM +0200, Rafael J. Wysocki wrote: > On Tuesday, July 08, 2014 01:45:30 PM Dmitry Torokhov wrote: > > On Tue, Jul 08, 2014 at 10:52:52PM +0200, Rafael J. Wysocki wrote: > > > On Thursday, June 19, 2014 08:51:25 AM Li, Aubrey wrote: > > > > When the wakeup attribute i

Re: [PATCH] GPIO button wth wakeup attribute is supposed to wake the system up

2014-07-08 Thread Rafael J. Wysocki
On Tuesday, July 08, 2014 01:45:30 PM Dmitry Torokhov wrote: > On Tue, Jul 08, 2014 at 10:52:52PM +0200, Rafael J. Wysocki wrote: > > On Thursday, June 19, 2014 08:51:25 AM Li, Aubrey wrote: > > > When the wakeup attribute is set, the GPIO button is capable of > > > waking up the system from sleep

Re: [PATCH] GPIO button wth wakeup attribute is supposed to wake the system up

2014-07-08 Thread Dmitry Torokhov
On Tue, Jul 08, 2014 at 10:52:52PM +0200, Rafael J. Wysocki wrote: > On Thursday, June 19, 2014 08:51:25 AM Li, Aubrey wrote: > > When the wakeup attribute is set, the GPIO button is capable of > > waking up the system from sleep states, including the "freeze" > > sleep state. For that to work, it

Re: [PATCH] GPIO button wth wakeup attribute is supposed to wake the system up

2014-07-08 Thread Rafael J. Wysocki
On Thursday, June 19, 2014 08:51:25 AM Li, Aubrey wrote: > When the wakeup attribute is set, the GPIO button is capable of > waking up the system from sleep states, including the "freeze" > sleep state. For that to work, its driver needs to pass the > IRQF_NO_SUSPEND flag to devm_request_any_conte

Re: [PATCH] GPIO button wth wakeup attribute is supposed to wake the system up

2014-06-23 Thread Li, Aubrey
ping... On 2014/6/19 18:40, One Thousand Gnomes wrote: > On Thu, 19 Jun 2014 08:51:25 +0800 > "Li, Aubrey" wrote: > >> When the wakeup attribute is set, the GPIO button is capable of >> waking up the system from sleep states, including the "freeze" >> sleep state. For that to work, its driver n

Re: [PATCH] GPIO button wth wakeup attribute is supposed to wake the system up

2014-06-19 Thread One Thousand Gnomes
On Thu, 19 Jun 2014 08:51:25 +0800 "Li, Aubrey" wrote: > When the wakeup attribute is set, the GPIO button is capable of > waking up the system from sleep states, including the "freeze" > sleep state. For that to work, its driver needs to pass the > IRQF_NO_SUSPEND flag to devm_request_any_conte

[PATCH] GPIO button wth wakeup attribute is supposed to wake the system up

2014-06-18 Thread Li, Aubrey
When the wakeup attribute is set, the GPIO button is capable of waking up the system from sleep states, including the "freeze" sleep state. For that to work, its driver needs to pass the IRQF_NO_SUSPEND flag to devm_request_any_context_irq(), or the interrupt will be disabled by suspend_device_irq