Re: [PATCH] iio: cros_ec: Reapply range at resume

2020-05-31 Thread Jonathan Cameron
On Tue, 26 May 2020 21:35:17 -0700 Gwendal Grignou wrote: > EC does not currently preserve range across sensor reinit. > If sensor is powered down at suspend, it will default to the EC default > range at resume, not the range set by the host. > > Save range if modified, and apply at resume. >

[PATCH] iio: cros_ec: Reapply range at resume

2020-05-26 Thread Gwendal Grignou
EC does not currently preserve range across sensor reinit. If sensor is powered down at suspend, it will default to the EC default range at resume, not the range set by the host. Save range if modified, and apply at resume. Signed-off-by: Gwendal Grignou ---