Cache CTRL1 into reg_ctrl1_active_val inside lis2dh_init_chip() in the PM_DEVICE_ACTION_TURN_ON path. This prevents the first runtime-PM RESUME from writing 0x00 to CTRL1 and disabling the sensor when runtime-PM is enabled. Fixes: #92196 Signed-off-by: Van Petrosyan <van.petrosyan@sensirion.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| lis2dh_i2c.c | ||
| lis2dh_spi.c | ||
| lis2dh_trigger.c | ||
| lis2dh.c | ||
| lis2dh.h | ||