Re: [STABLE REGRESSION] iio: hid-sensor-trigger: Change get poll value function order to avoid sensor properties losing after resume from S3

From: Srinivas Pandruvada
Date: Thu Apr 06 2017 - 01:18:59 EST



On Thu, 2017-04-06 at 04:58 +0000, Song, Hongyan wrote:
> Hi Srinivas,
> I have checked the patch dose not meets my requirement for ISH.
> With this patch sensor properties still losing after resume from S3.
What is your test case? I want to try.

Thanks,
Srinivas

>
> BR
> Song Hongyan
>
> -----Original Message-----
> From: Srinivas Pandruvada [mailto:srinivas.pandruvada@xxxxxxxxxxxxxxx
>
> Sent: Wednesday, April 5, 2017 11:36 PM
> To: rrs@xxxxxxxxxxxxxx; Song, Hongyan <hongyan.song@xxxxxxxxx>;
> linux-iio <linux-iio@xxxxxxxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [STABLE REGRESSION] iio: hid-sensor-trigger: Change get
> poll value function order to avoid sensor properties losing after
> resume from S3
>
> Hi Hongyan,
>
> Can you check if the patch meets your requirement/needs for ISH?
>
> Thanks,
> Srinivas
>
> On Wed, 2017-04-05 at 16:21 +0530, Ritesh Raj Sarraf wrote:
> >
> > On Tue, 2017-04-04 at 17:44 -0700, Srinivas Pandruvada wrote:
> > >
> > >
> > > Hi Ritesh,
> > >
> > > Does the attached patch helps?
> > Thank you Srinivas. I tested your patch on top of 4.10.8 and it isÂ
> > working perfect.
> >
> > Ritesh
> >