Re: [RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-02-06 Thread ivan.khoronzhuk
On 02/05/2013 12:40 AM, NeilBrown wrote: On Thu, 31 Jan 2013 15:25:43 +0200 "ivan.khoronzhuk" wrote: On 01/28/2013 08:51 PM, NeilBrown wrote: On Mon, 28 Jan 2013 18:13:14 +0200 "ivan.khoronzhuk" wrote: On 01/22/2013 07:24 AM, NeilBrown wrote: On Mon, 21 Jan 2013 15:57:18 -0800 Dmitry

Re: [RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-02-06 Thread ivan.khoronzhuk
On 02/05/2013 12:40 AM, NeilBrown wrote: On Thu, 31 Jan 2013 15:25:43 +0200 ivan.khoronzhuk ivan.khoronz...@ti.com wrote: On 01/28/2013 08:51 PM, NeilBrown wrote: On Mon, 28 Jan 2013 18:13:14 +0200 ivan.khoronzhuk ivan.khoronz...@ti.com wrote: On 01/22/2013 07:24 AM, NeilBrown wrote: On

Re: [RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-02-04 Thread NeilBrown
On Thu, 31 Jan 2013 15:25:43 +0200 "ivan.khoronzhuk" wrote: > On 01/28/2013 08:51 PM, NeilBrown wrote: > > On Mon, 28 Jan 2013 18:13:14 +0200 "ivan.khoronzhuk" > > > > wrote: > > > >> On 01/22/2013 07:24 AM, NeilBrown wrote: > >>> On Mon, 21 Jan 2013 15:57:18 -0800 Dmitry Torokhov > >>>

Re: [RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-02-04 Thread NeilBrown
On Thu, 31 Jan 2013 15:25:43 +0200 ivan.khoronzhuk ivan.khoronz...@ti.com wrote: On 01/28/2013 08:51 PM, NeilBrown wrote: On Mon, 28 Jan 2013 18:13:14 +0200 ivan.khoronzhuk ivan.khoronz...@ti.com wrote: On 01/22/2013 07:24 AM, NeilBrown wrote: On Mon, 21 Jan 2013 15:57:18 -0800

Re: [RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-01-31 Thread ivan.khoronzhuk
On 01/28/2013 08:51 PM, NeilBrown wrote: On Mon, 28 Jan 2013 18:13:14 +0200 "ivan.khoronzhuk" wrote: On 01/22/2013 07:24 AM, NeilBrown wrote: On Mon, 21 Jan 2013 15:57:18 -0800 Dmitry Torokhov wrote: Hi Ivan, On Mon, Jan 21, 2013 at 03:15:14PM +0200, Ivan Khoronzhuk wrote: Rebased on

Re: [RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-01-31 Thread ivan.khoronzhuk
On 01/28/2013 08:51 PM, NeilBrown wrote: On Mon, 28 Jan 2013 18:13:14 +0200 ivan.khoronzhuk ivan.khoronz...@ti.com wrote: On 01/22/2013 07:24 AM, NeilBrown wrote: On Mon, 21 Jan 2013 15:57:18 -0800 Dmitry Torokhov dmitry.torok...@gmail.com wrote: Hi Ivan, On Mon, Jan 21, 2013 at 03:15:14PM

Re: [RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-01-28 Thread NeilBrown
On Mon, 28 Jan 2013 18:13:14 +0200 "ivan.khoronzhuk" wrote: > On 01/22/2013 07:24 AM, NeilBrown wrote: > > On Mon, 21 Jan 2013 15:57:18 -0800 Dmitry Torokhov > > wrote: > > > >> Hi Ivan, > >> > >> On Mon, Jan 21, 2013 at 03:15:14PM +0200, Ivan Khoronzhuk wrote: > >>> Rebased on

Re: [RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-01-28 Thread ivan.khoronzhuk
On 01/22/2013 07:24 AM, NeilBrown wrote: On Mon, 21 Jan 2013 15:57:18 -0800 Dmitry Torokhov wrote: Hi Ivan, On Mon, Jan 21, 2013 at 03:15:14PM +0200, Ivan Khoronzhuk wrote: Rebased on linux_omap/master. During suspend/resume the key press can be lost if time of resume sequence is

Re: [RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-01-28 Thread ivan.khoronzhuk
On 01/22/2013 07:24 AM, NeilBrown wrote: On Mon, 21 Jan 2013 15:57:18 -0800 Dmitry Torokhov dmitry.torok...@gmail.com wrote: Hi Ivan, On Mon, Jan 21, 2013 at 03:15:14PM +0200, Ivan Khoronzhuk wrote: Rebased on linux_omap/master. During suspend/resume the key press can be lost if time of

Re: [RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-01-28 Thread NeilBrown
On Mon, 28 Jan 2013 18:13:14 +0200 ivan.khoronzhuk ivan.khoronz...@ti.com wrote: On 01/22/2013 07:24 AM, NeilBrown wrote: On Mon, 21 Jan 2013 15:57:18 -0800 Dmitry Torokhov dmitry.torok...@gmail.com wrote: Hi Ivan, On Mon, Jan 21, 2013 at 03:15:14PM +0200, Ivan Khoronzhuk wrote:

Re: [RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-01-21 Thread NeilBrown
On Mon, 21 Jan 2013 15:57:18 -0800 Dmitry Torokhov wrote: > Hi Ivan, > > On Mon, Jan 21, 2013 at 03:15:14PM +0200, Ivan Khoronzhuk wrote: > > Rebased on linux_omap/master. > > > > During suspend/resume the key press can be lost if time of resume > > sequence is significant. > > > > If press

Re: [RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-01-21 Thread Dmitry Torokhov
Hi Ivan, On Mon, Jan 21, 2013 at 03:15:14PM +0200, Ivan Khoronzhuk wrote: > Rebased on linux_omap/master. > > During suspend/resume the key press can be lost if time of resume > sequence is significant. > > If press event cannot be remembered then the driver can read the > current button state

[RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-01-21 Thread Ivan Khoronzhuk
Rebased on linux_omap/master. During suspend/resume the key press can be lost if time of resume sequence is significant. If press event cannot be remembered then the driver can read the current button state only in time of interrupt handling. But in some cases when time between IRQ and IRQ

[RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-01-21 Thread Ivan Khoronzhuk
Rebased on linux_omap/master. During suspend/resume the key press can be lost if time of resume sequence is significant. If press event cannot be remembered then the driver can read the current button state only in time of interrupt handling. But in some cases when time between IRQ and IRQ

Re: [RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-01-21 Thread Dmitry Torokhov
Hi Ivan, On Mon, Jan 21, 2013 at 03:15:14PM +0200, Ivan Khoronzhuk wrote: Rebased on linux_omap/master. During suspend/resume the key press can be lost if time of resume sequence is significant. If press event cannot be remembered then the driver can read the current button state only in

Re: [RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-01-21 Thread NeilBrown
On Mon, 21 Jan 2013 15:57:18 -0800 Dmitry Torokhov dmitry.torok...@gmail.com wrote: Hi Ivan, On Mon, Jan 21, 2013 at 03:15:14PM +0200, Ivan Khoronzhuk wrote: Rebased on linux_omap/master. During suspend/resume the key press can be lost if time of resume sequence is significant.

[RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-01-18 Thread Ivan Khoronzhuk
During suspend/resume the key press can be lost if time of resume sequence is significant. If press event cannot be remembered then the driver can read the current button state only in time of interrupt handling. But in some cases when time between IRQ and IRQ handler is significant we can read

[RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-01-18 Thread Ivan Khoronzhuk
During suspend/resume the key press can be lost if time of resume sequence is significant. If press event cannot be remembered then the driver can read the current button state only in time of interrupt handling. But in some cases when time between IRQ and IRQ handler is significant we can read