[SRU] [J/OEM-5.14/OEM-5.17] [PATCH 0/1] Make cm32181 sensor work after system suspend

Kai-Heng Feng kai.heng.feng at canonical.com
Fri Jul 15 01:08:34 UTC 2022


BugLink: https://bugs.launchpad.net/bugs/1981773

[Impact]
cm32181 ambient light sensor stops working after system suspend.

[Fix]
Add PM support for cm32181 so it can work after system suspend.

[Test]
The sysfs in_illuminance_input continues to change after system suspend.

[Where problems could occur]
This changeset is limited to a specific device, and it already lacks PM
support - so the worst case is that it stops working after resume like
it always has been.

Kai-Heng Feng (1):
  iio: light: cm32181: Add PM support

 drivers/iio/light/cm32181.c | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

-- 
2.36.1




More information about the kernel-team mailing list