diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2020-05-26 21:35:17 -0700 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-06-14 11:49:41 +0100 |
commit | e7e3b9d23f3bc6774cce585ef4fcb02462e04065 (patch) | |
tree | 4c3279b9dcd7fa1c8009f2f8df4ad748db14d625 /init | |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions