diff options
author | Jinjie Ruan <[email protected]> | 2024-11-01 17:40:48 +0800 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2024-11-07 09:05:57 +0100 |
commit | d6594d50761728d09f23238cf9c368bab6260ef3 (patch) | |
tree | 8e8616765ca7d63f99eb646c678a95e3a52ef2f5 /tools/perf/scripts/python/sched-migration.py | |
parent | eaf296205c61ac2d4024ff7816517c35a6056d78 (diff) |
media: i2c: dw9768: Fix pm_runtime_set_suspended() with runtime pm enabled
It is not valid to call pm_runtime_set_suspended() and
pm_runtime_set_active() for devices with runtime PM enabled because it
returns -EAGAIN if it is enabled already and working. So, adjust the
order to fix it.
Cc: [email protected]
Fixes: 5f9a089b6de3 ("dw9768: Enable low-power probe on ACPI")
Suggested-by: Sakari Ailus <[email protected]>
Signed-off-by: Jinjie Ruan <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions