Browse Source
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>pull/92185/merge
1 changed files with 5 additions and 6 deletions
Loading…
Reference in new issue