diff options
author | Kai-Heng Feng <kai.heng.feng@canonical.com> | 2022-07-07 03:01:51 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-07-07 19:50:04 +0300 |
commit | 68c1b3dd5c48b2323067f8c1f0649ae2f31ab20b (patch) | |
tree | 99a3ed8c1b19450c914a762fec5b72fe50d59f47 /init/main.c | |
parent | bca036de0ab2c317902d4fa1dd9900f238b03e1f (diff) | |
download | linux-68c1b3dd5c48b2323067f8c1f0649ae2f31ab20b.tar.xz |
iio: light: cm32181: Add PM support
The read on in_illuminance_input keeps at 0 after system sleep.
So add proper suspend and resume callback to make the sensor keep
working after system sleep.
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Link: https://lore.kernel.org/r/20220707000151.33381-1-kai.heng.feng@canonical.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions