diff options
| author | Jinjie Ruan <ruanjinjie@huawei.com> | 2024-11-01 17:40:48 +0800 |
|---|---|---|
| committer | Hans Verkuil <hverkuil@xs4all.nl> | 2024-11-07 09:05:57 +0100 |
| commit | d6594d50761728d09f23238cf9c368bab6260ef3 (patch) | |
| tree | 8e8616765ca7d63f99eb646c678a95e3a52ef2f5 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | media: i2c: imx415: Drop HAS_EVENTS flag (diff) | |
| download | linux-d6594d50761728d09f23238cf9c368bab6260ef3.tar.gz linux-d6594d50761728d09f23238cf9c368bab6260ef3.zip | |
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: stable@vger.kernel.org
Fixes: 5f9a089b6de3 ("dw9768: Enable low-power probe on ACPI")
Suggested-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
