diff options
author | Spencer E. Olson <[email protected]> | 2018-10-24 08:33:40 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-11-07 13:08:28 +0100 |
commit | 4dc2a3cd27856531cf92762fea2eb9468efe552f (patch) | |
tree | 349acde2caee986d1f39e7f9d2db3d9fc696c757 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | b7c56d7bfe834904d9d332e0cfbf929b75976f8a (diff) |
staging: comedi: clarify/unify macros for NI macro-defined terminals
Uses a single macro to define multiple macros that represent a series of
terminals for NI devices. This patch also redefines NI_MAX_COUNTERS as the
maximum number of counters possible on NI devices (instead of the maximum
index of the counters). This was a little confusing and caused a bug in
commit 347e244884c3b ("staging: comedi: tio: implement global tio/ctr routing")
when setting/reading registers for counter terminals.
Fixes: 347e244884c3b ("staging: comedi: tio: implement global tio/ctr routing")
Signed-off-by: Spencer E. Olson <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions