summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJinjie Ruan <ruanjinjie@huawei.com>2024-11-01 12:40:48 +0300
committerHans Verkuil <hverkuil@xs4all.nl>2024-11-07 11:05:57 +0300
commitd6594d50761728d09f23238cf9c368bab6260ef3 (patch)
tree8e8616765ca7d63f99eb646c678a95e3a52ef2f5 /tools/perf/scripts/python/stackcollapse.py
parenteaf296205c61ac2d4024ff7816517c35a6056d78 (diff)
downloadlinux-d6594d50761728d09f23238cf9c368bab6260ef3.tar.xz
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions