diff options
| author | H Hartley Sweeten <[email protected]> | 2013-06-12 16:14:02 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-06-17 14:33:41 -0700 |
| commit | 383390cfd4aefad6e00d4738233aa89901211fdd (patch) | |
| tree | 31c7175ade33b4238af03d5bea1b8baca001891e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | ca1cc85b0ea5d1c9de91ffebf4d5272bb5a61dee (diff) | |
staging: comedi: addi_apci_3xxx: tidy up the ttl digital i/o subdevice init
For aesthetic reasons, add some whitespace to the initialization of the
ttl digital i/o subdevices.
Fix the subdev_flags for the subdevice. The SDF_GROUND and SDF_COMMON
flags only apply to analog subdevices.
Fix the s->iobits for the subdevice. According to the datasheet:
Port 0 (channels 0-7) are always outputs
Port 1 (channels 8-15) are always inputs
Port 2 (channels 9-23) are programmable i/o (default to inputs)
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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions