diff options
| author | H Hartley Sweeten <[email protected]> | 2015-11-13 11:11:24 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-12-18 14:56:30 -0800 |
| commit | 5ce4385232255683f3fccca4d6772ae61769f2ad (patch) | |
| tree | 746c29ea83d0bfbe19b190a669e99dc7993e160b /tools/perf/scripts/python | |
| parent | d0445303f86c6ace7dcaf6d2806445ea0208f151 (diff) | |
staging: comedi: adv_pci1710: fix ai (*insn_read)
An (*insn_read) can only happen if the subdevice is in a non-busy state,
i.e. an async command is not running. The board reset and subdevice
(*cancel) will ensure that the control bits (devpriv->ctrl) are already
cleared.
The (*insn_read) only needs to enable the software trigger before reading
samples. It should also disable the software trigger when done. Fix the
(*insn_read) to do this.
For aesthetics, rename the function so it has namespace associated with
the driver.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions