The maxdata for a Digital Output subdevice is always '1'. Remove this
incorrect boardinfo.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
int i_AoMaxdata;
int i_NbrDiChannel;
int i_NbrDoChannel;
- int i_DoMaxdata;
};
static const struct apci3120_board apci3120_boardtypes[] = {
.i_AoMaxdata = 0x3fff,
.i_NbrDiChannel = 4,
.i_NbrDoChannel = 4,
- .i_DoMaxdata = 0x0f,
},
[BOARD_APCI3001] = {
.name = "apci3001",
.i_AiMaxdata = 0xfff,
.i_NbrDiChannel = 4,
.i_NbrDoChannel = 4,
- .i_DoMaxdata = 0x0f,
},
};
s->subdev_flags =
SDF_READABLE | SDF_WRITEABLE | SDF_GROUND | SDF_COMMON;
s->n_chan = this_board->i_NbrDoChannel;
- s->maxdata = this_board->i_DoMaxdata;
+ s->maxdata = 1;
s->len_chanlist = this_board->i_NbrDoChannel;
s->range_table = &range_digital;
s->insn_bits = apci3120_do_insn_bits;