aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorPin-yen Lin <[email protected]>2022-10-27 11:21:49 +0800
committerNeil Armstrong <[email protected]>2022-10-27 13:46:31 +0200
commit3e4a21a29dd924995f1135cd50e8b7e0d023729c (patch)
tree0cf66d0526de7c76eef9b1347b643bbe13fe8499 /tools/perf/scripts/python/task-analyzer.py
parente3c92eb4a84fb0f00442e6b5cabf4f11b0eaaf41 (diff)
drm/bridge: it6505: Fix return value check for pm_runtime_get_sync
`pm_runtime_get_sync` may return 1 on success. Fix the `if` statement here to make the code less confusing, even though additional calls to `it6505_poweron` doesn't break anything when it's already powered. This was reported by Dan Carpenter <[email protected]> in https://lore.kernel.org/all/Y1fMCs6VnxbDcB41@kili/ Fixes: 10517777d302 ("drm/bridge: it6505: Adapt runtime power management framework") Signed-off-by: Pin-yen Lin <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions