diff options
| author | H Hartley Sweeten <[email protected]> | 2014-11-10 16:20:14 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-11-26 15:31:33 -0800 |
| commit | 3a2cf2f971b7128b1daff50abbd88c766b458544 (patch) | |
| tree | c08f0ecc5e99026b71d46271077aac5e56a7998e /tools/perf/scripts/python | |
| parent | 6cf8ea2ebfb4421927cd7f1c66247d6980b5ac4c (diff) | |
staging: comedi: addi_apci_1564: fix counter code in main driver source
The Rev 1.0 APCI-1564 boards do not have counters.
Fix the code in the main driver source so that the I/O accesses to the
counters do not happen if the devpriv->counters member is not initialized.
This does not fix the code in hwdrv_apci1564.c. That code violates the
comedi API and is currently broken.
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