diff options
author | Sean Nyekjaer <sean@geanix.com> | 2025-09-01 09:49:15 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-09-10 19:47:05 +0100 |
commit | 466f7a2fef2a4e426f809f79845a1ec1aeb558f4 (patch) | |
tree | fd396dc72d1b587522fadac693365e7bcf704bf1 /rust/helpers/rcu.c | |
parent | a95a0b4e471a6d8860f40c6ac8f1cad9dde3189a (diff) |
iio: imu: inv_icm42600: Avoid configuring if already pm_runtime suspended
Do as in suspend, skip resume configuration steps if the device is already
pm_runtime suspended. This avoids reconfiguring a device that is already
in the correct low-power state and ensures that pm_runtime handles the
power state transitions properly.
Fixes: 31c24c1e93c3 ("iio: imu: inv_icm42600: add core of new inv_icm42600 driver")
Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Link: https://patch.msgid.link/20250901-icm42pmreg-v3-3-ef1336246960@geanix.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'rust/helpers/rcu.c')
0 files changed, 0 insertions, 0 deletions