diff options
author | Jinjie Ruan <[email protected]> | 2024-11-01 17:40:50 +0800 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2024-11-07 09:05:57 +0100 |
commit | 2a20869f7d798aa2b69e45b863eaf1b1ecf98278 (patch) | |
tree | 81d08c0274e93c56f6ee3a287812fc2fb7c34e59 /tools/perf/scripts/python/netdev-times.py | |
parent | 316e74500d1c6589cba28cebe2864a0bceeb2396 (diff) |
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: [email protected]
Fixes: af2c3834c8ca ("[media] media: venus: adding core part and helper functions")
Signed-off-by: Jinjie Ruan <[email protected]>
Reviewed-by: Bryan O'Donoghue <[email protected]>
Acked-by: Stanimir Varbanov <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions