aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2016-09-01 10:27:18 +0200
committerJonathan Cameron <[email protected]>2016-09-10 16:49:25 +0100
commit7ba4b884b7a890e240a13f5f65d607721e80396a (patch)
tree2ffcd550080765de4d56056bea87e1152be73f81 /tools/perf/scripts/python
parent702a7b8e064a93df0b63e9d718b666a9851088fc (diff)
iio: st_sensors: use the helper function
The ST sensors can be used as a trigger for its own triggered buffer but it is also possible to use an external trigger: a HRTimer or even a different sensor (!) as trigger. In that case we should not pick the timestamp from our own interrupt top half even if it is active. This could practically happen if some other sensor is using the ST sensor as trigger but the ST sensor itself is using e.g. an HRTimer as trigger. So the trigger is on, but not used by us. We used to assume that whenever the hardware interrupt is turned on, we are using it for our own trigger, but this is an oversimplification. Handle this logically by using the iio_trigger_using_own() helper. Cc: Giuseppe Barba <[email protected]> Cc: Denis Ciocca <[email protected]> Cc: Crestez Dan Leonard <[email protected]> Cc: Gregor Boirie <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions