aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2015-03-27 15:13:04 +0000
committerGreg Kroah-Hartman <[email protected]>2015-04-03 13:11:53 +0200
commit922d9ced718268e464a0884ecee09da436e00d70 (patch)
treee07d77959f714b49f212b602841d78d94b55e780 /tools/perf/scripts/python/export-to-postgresql.py
parent258c1dd76bf1223a0f67ff8d799b5eb383a3a632 (diff)
staging: comedi: comedi_fops: always clear events
`comedi_event()` is called from low-level drivers to handle asynchronous command event flags that are stored in `s->async->events` for subdevice `s`. It normally clears the event flags as well. As a safety check, it does nothing if no asynchronous command is running, but it leaves `s->async->events` unchanged in this case. For additional safety, change it to always clear the event flags to avoid leaving stale event flags set when another asynchronous command is set up. Signed-off-by: Ian Abbott <[email protected]> Reviewed-by: H Hartley Sweeten <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions