RE: [PATCH] input:gpio-key: set IRQF_NO_SUSPEND for wake capable key

2015-10-08 Thread Li, Aubrey
> > BRs > > Zheng Qi > PEG->IPG->EIG SH IO/LPSS team > > -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: Saturday, October 3, 2015 1:42 AM > To: Linus Walleij <linus.wall...@linaro.org> > Cc: Zha, Qipeng <

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. Wysocki

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 aubrey...@linux.intel.com 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

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

2014-06-18 Thread Li, Aubrey
. The affected/tested machines include Dell Venue 11 Pro and Asus T100TA. Signed-off-by: Aubrey Li aubrey...@linux.intel.com Reviewed-by: Rafael J. Wysocki rafael.j.wyso...@intel.com --- drivers/input/keyboard/gpio_keys.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/input

Re: [patch]GPIO button is supposed to wake the system up if the wakeup attribute is set

2014-04-21 Thread Li, Aubrey
On 2014/4/21 23:55, Dmitry Torokhov wrote: On Mon, Apr 21, 2014 at 09:34:20AM +0800, Li, Aubrey wrote: On 2014/4/21 3:39, Dmitry Torokhov wrote: On Fri, Apr 18, 2014 at 01:23:11PM +0800, Li, Aubrey wrote: On 2014/4/18 7:54, Dmitry Torokhov wrote: Hi Aubrey, On Fri, Apr 18, 2014 at 12:42

Re: [patch]GPIO button is supposed to wake the system up if the wakeup attribute is set

2014-04-20 Thread Li, Aubrey
On 2014/4/21 3:39, Dmitry Torokhov wrote: On Fri, Apr 18, 2014 at 01:23:11PM +0800, Li, Aubrey wrote: On 2014/4/18 7:54, Dmitry Torokhov wrote: Hi Aubrey, On Fri, Apr 18, 2014 at 12:42:24AM +0800, Li, Aubrey wrote: On 2014/4/16 20:35, Laxman Dewangan wrote: On Tuesday 15 April 2014 09:48 PM

Re: [patch]GPIO button is supposed to wake the system up if the wakeup attribute is set

2014-04-17 Thread Li, Aubrey
On 2014/4/16 20:35, Laxman Dewangan wrote: On Tuesday 15 April 2014 09:48 PM, Li, Aubrey wrote: On 2014/4/15 20:38, Laxman Dewangan wrote: On Monday 14 April 2014 09:12 PM, Li, Aubrey wrote: ping... On 2014/4/10 18:48, One Thousand Gnomes wrote: I think when we say irq_wake_enable

Re: [patch]GPIO button is supposed to wake the system up if the wakeup attribute is set

2014-04-17 Thread Li, Aubrey
On 2014/4/18 1:18, Laxman Dewangan wrote: On Thursday 17 April 2014 10:12 PM, Li, Aubrey wrote: On 2014/4/16 20:35, Laxman Dewangan wrote: On Tuesday 15 April 2014 09:48 PM, Li, Aubrey wrote: On 2014/4/15 20:38, Laxman Dewangan wrote: On Monday 14 April 2014 09:12 PM, Li, Aubrey wrote: ping

Re: [patch]GPIO button is supposed to wake the system up if the wakeup attribute is set

2014-04-17 Thread Li, Aubrey
On 2014/4/18 7:54, Dmitry Torokhov wrote: Hi Aubrey, On Fri, Apr 18, 2014 at 12:42:24AM +0800, Li, Aubrey wrote: On 2014/4/16 20:35, Laxman Dewangan wrote: On Tuesday 15 April 2014 09:48 PM, Li, Aubrey wrote: On 2014/4/15 20:38, Laxman Dewangan wrote: On Monday 14 April 2014 09:12 PM, Li

Re: [patch]GPIO button is supposed to wake the system up if the wakeup attribute is set

2014-04-15 Thread Li, Aubrey
On 2014/4/15 20:38, Laxman Dewangan wrote: On Monday 14 April 2014 09:12 PM, Li, Aubrey wrote: ping... On 2014/4/10 18:48, One Thousand Gnomes wrote: On Thu, 10 Apr 2014 10:11:09 +0800 Li, Aubrey aubrey...@linux.intel.com wrote: When the wakeup attribute is set, GPIO button is supposed

Re: [patch]GPIO button is supposed to wake the system up if the wakeup attribute is set

2014-04-14 Thread Li, Aubrey
ping... On 2014/4/10 18:48, One Thousand Gnomes wrote: On Thu, 10 Apr 2014 10:11:09 +0800 Li, Aubrey aubrey...@linux.intel.com wrote: When the wakeup attribute is set, GPIO button is supposed to set irqflag - IRQF_NO_SUSPEND to request irq. So when the system enters the suspend sleep mode

[patch]GPIO button is supposed to wake the system up if the wakeup attribute is set

2014-04-09 Thread Li, Aubrey
. Signed-off-by: Aubrey Li aubrey...@linux.intel.com --- drivers/input/keyboard/gpio_keys.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c index 2db1324..40f3963 100644 --- a/drivers/input/keyboard/gpio_keys.c +++ b