Re: [Patch 1/1] Input: edt-ft5x06 - disable irq handling during suspend

2019-07-01 Thread Benoit Parrot
Dmitry Torokhov wrote on Mon [2019-Jul-01 00:32:33 -0700]: > On Mon, Jun 24, 2019 at 07:24:57AM -0500, Benoit Parrot wrote: > > Dmitry Torokhov wrote on Sat [2019-Jun-22 > > 22:59:40 -0700]: > > > On Sat, Jun 22, 2019 at 01:37:10PM +0300, Andy Shevchenko wrote: > > > > On Fri, Jun 21, 2019 at 9

Re: [Patch 1/1] Input: edt-ft5x06 - disable irq handling during suspend

2019-07-01 Thread Dmitry Torokhov
On Mon, Jun 24, 2019 at 07:24:57AM -0500, Benoit Parrot wrote: > Dmitry Torokhov wrote on Sat [2019-Jun-22 > 22:59:40 -0700]: > > On Sat, Jun 22, 2019 at 01:37:10PM +0300, Andy Shevchenko wrote: > > > On Fri, Jun 21, 2019 at 9:53 PM Benoit Parrot wrote: > > > > > > > > As a wakeup source when th

Re: [Patch 1/1] Input: edt-ft5x06 - disable irq handling during suspend

2019-06-24 Thread Benoit Parrot
Dmitry Torokhov wrote on Sat [2019-Jun-22 22:59:40 -0700]: > On Sat, Jun 22, 2019 at 01:37:10PM +0300, Andy Shevchenko wrote: > > On Fri, Jun 21, 2019 at 9:53 PM Benoit Parrot wrote: > > > > > > As a wakeup source when the system is in suspend there is little point > > > trying to access a regis

Re: [Patch 1/1] Input: edt-ft5x06 - disable irq handling during suspend

2019-06-24 Thread Benoit Parrot
Andy Shevchenko wrote on Sat [2019-Jun-22 13:37:10 +0300]: > On Fri, Jun 21, 2019 at 9:53 PM Benoit Parrot wrote: > > > > As a wakeup source when the system is in suspend there is little point > > trying to access a register across the i2c bus as it is probably still > > inactive. We need to pre

Re: [Patch 1/1] Input: edt-ft5x06 - disable irq handling during suspend

2019-06-22 Thread Dmitry Torokhov
On Sat, Jun 22, 2019 at 01:37:10PM +0300, Andy Shevchenko wrote: > On Fri, Jun 21, 2019 at 9:53 PM Benoit Parrot wrote: > > > > As a wakeup source when the system is in suspend there is little point > > trying to access a register across the i2c bus as it is probably still > > inactive. We need to

Re: [Patch 1/1] Input: edt-ft5x06 - disable irq handling during suspend

2019-06-22 Thread Andy Shevchenko
On Fri, Jun 21, 2019 at 9:53 PM Benoit Parrot wrote: > > As a wakeup source when the system is in suspend there is little point > trying to access a register across the i2c bus as it is probably still > inactive. We need to prevent the irq handler from being called during > suspend. > Hmm... But