Re: [PATCH 1/8] iio: cros_ec: Relax sampling frequency before suspending

2017-08-12 Thread Jonathan Cameron
On Thu, 10 Aug 2017 20:25:56 -0700 Benson Leung wrote: > Hi Thierry, > > On Fri, Aug 11, 2017 at 12:16:43AM +0200, Thierry Escande wrote: > > From: Gwendal Grignou > > > > If an application set a tight sampling frequency, given the interrupt > > use is a wakup source, suspend will not happen:

Re: [PATCH 1/8] iio: cros_ec: Relax sampling frequency before suspending

2017-08-10 Thread Benson Leung
Hi Thierry, On Fri, Aug 11, 2017 at 12:16:43AM +0200, Thierry Escande wrote: > From: Gwendal Grignou > > If an application set a tight sampling frequency, given the interrupt > use is a wakup source, suspend will not happen: the kernel will receive > a wake up interrupt and will cancel the suspe