aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorJinjie Ruan <[email protected]>2024-11-01 17:40:49 +0800
committerHans Verkuil <[email protected]>2024-11-07 09:05:57 +0100
commit316e74500d1c6589cba28cebe2864a0bceeb2396 (patch)
treea733943484c0eaf5dddea581b3e6bad15b746487 /tools/perf/scripts/python/sched-migration.py
parentd6594d50761728d09f23238cf9c368bab6260ef3 (diff)
media: amphion: 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: [email protected] Fixes: b50a64fc54af ("media: amphion: add amphion vpu device driver") Signed-off-by: Jinjie Ruan <[email protected]> Reviewed-by: Bryan O'Donoghue <[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