aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorJonathan Cameron <[email protected]>2021-05-09 12:33:29 +0100
committerJonathan Cameron <[email protected]>2021-05-17 13:54:25 +0100
commit6fbaebae758dd68c6bda22164e61038eb72ce036 (patch)
tree4ffcbcaff69007478090161b076809ddf3c7e216 /tools/perf/scripts/python/flamegraph.py
parenta2fa3debc12e4a401a4c6febc1804036a62f1e31 (diff)
iio: light: tsl2583: Balance runtime pm + use pm_runtime_resume_and_get()
Error paths in read_raw() and write_raw() callbacks failed to perform and type of runtime pm put(). Remove called pm_runtime_put_noidle() but there is no equivalent get (this is safe because the reference count is protected against going below zero, but it is misleading. Whilst here use pm_runtime_resume_and_get() to replace boilerplate. Signed-off-by: Jonathan Cameron <[email protected]> Cc: Brian Masney <[email protected]> Reviewed-by: Brian Masney <[email protected]> Reviewed-by: Mauro Carvalho Chehab <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions