diff options
author | Jinjie Ruan <ruanjinjie@huawei.com> | 2024-09-30 12:19:13 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-11-01 02:07:50 +0300 |
commit | 18599e93e4e814ce146186026c6abf83c14d5798 (patch) | |
tree | 91028a21ccbae37e153f4d0f44883bb569d47187 /tools/perf/scripts/python/task-analyzer.py | |
parent | 45357c9b37bb069dfa4941449de5839c02801a15 (diff) | |
download | linux-18599e93e4e814ce146186026c6abf83c14d5798.tar.xz |
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: stable@vger.kernel.org # v5.17
Fixes: 05be23ef78f7 ("i3c: master: svc: add runtime pm support")
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20240930091913.2545510-1-ruanjinjie@huawei.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions