aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2021-03-01 16:57:52 +0000
committerGreg Kroah-Hartman <[email protected]>2021-03-10 09:25:31 +0100
commit7a3f3a7005cba9cfc1a0d50978f3eb7f3094e02f (patch)
treef4c8f5c28f3fdb988ff41f598c29b7a17e604829 /tools/perf/scripts/python/event_analyzing_sample.py
parenta0d1a3864cad089eef3e0458d1abc31e9e101751 (diff)
staging: comedi: dt2814: Clear stale AI data before operation
When performing a Comedi read instruction or setting up an asynchronous command on the AI subdevice, clear any stale data on the A/D registers by waiting for the Status register's BUSY bit to clear (if set) and then if the FINISH or ERR bit is set, reading the A/D Data register twice to clear the stale data. Signed-off-by: Ian Abbott <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions