aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2022-02-07 15:38:29 +0100
committerJonathan Cameron <[email protected]>2022-04-10 16:15:02 +0100
commitf4d7f88339a5c31cf312cf31e3ed216351bfc5ae (patch)
tree701cf62c97dcef47b61073f81878abb017239ffc /tools/perf/scripts/python/flamegraph.py
parenta8b6d6708bb682108d8c899bc0cb7873240daf8a (diff)
iio: magnetometer: rm3100: Stop abusing the ->currentmode
This is an internal variable for the core, here it is set to a "default" value by the driver in order to later be able to perform checks against it. None of this is needed because this check actually cares about the buffers being enabled or not. So it is an unproper side-channel access to the information "are the buffers enabled?", returned officially by the iio_buffer_enabled() helper. Use this helper instead. Cc: Song Qiang <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions