commit | e7e3b9d23f3bc6774cce585ef4fcb02462e04065 | [log] [tgz] |
---|---|---|
author | Gwendal Grignou <gwendal@chromium.org> | Tue May 26 21:35:17 2020 -0700 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Jun 14 11:49:41 2020 +0100 |
tree | 4c3279b9dcd7fa1c8009f2f8df4ad748db14d625 | |
parent | 79846e33aac15f1a1451bcf424b7a1cc22440a88 [diff] |
iio: cros_ec: Reapply range at resume 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 <gwendal@chromium.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>