summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJinjie Ruan <ruanjinjie@huawei.com>2024-11-01 12:40:50 +0300
committerHans Verkuil <hverkuil@xs4all.nl>2024-11-07 11:05:57 +0300
commit2a20869f7d798aa2b69e45b863eaf1b1ecf98278 (patch)
tree81d08c0274e93c56f6ee3a287812fc2fb7c34e59 /tools/perf/scripts/python/stackcollapse.py
parent316e74500d1c6589cba28cebe2864a0bceeb2396 (diff)
downloadlinux-2a20869f7d798aa2b69e45b863eaf1b1ecf98278.tar.xz
media: venus: Fix pm_runtime_set_suspended() with runtime pm enabled
It is not valid to call pm_runtime_set_suspended() for devices with runtime PM enabled because it returns -EAGAIN if it is enabled already and working. So, call pm_runtime_disable() before to fix it. Cc: stable@vger.kernel.org Fixes: af2c3834c8ca ("[media] media: venus: adding core part and helper functions") Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Acked-by: Stanimir Varbanov <stanimir.k.varbanov@gmail.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