diff options
author | Jinjie Ruan <[email protected]> | 2024-09-30 17:19:13 +0800 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2024-11-01 00:07:50 +0100 |
commit | 18599e93e4e814ce146186026c6abf83c14d5798 (patch) | |
tree | 91028a21ccbae37e153f4d0f44883bb569d47187 /tools/perf/scripts/python/gecko.py | |
parent | 45357c9b37bb069dfa4941449de5839c02801a15 (diff) |
i3c: master: svc: 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] # v5.17
Fixes: 05be23ef78f7 ("i3c: master: svc: add runtime pm support")
Reviewed-by: Frank Li <[email protected]>
Reviewed-by: Miquel Raynal <[email protected]>
Signed-off-by: Jinjie Ruan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions