staging: comedi: addi_apci_3120: enable AI async commands
The async command support should now work. Enable the hook up of the command support functions in apci3120_auto_attach(). 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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f50205f047
commit
c58f9bb622
@@ -1038,7 +1038,7 @@ static int apci3120_auto_attach(struct comedi_device *dev,
|
||||
s->maxdata = this_board->ai_is_16bit ? 0xffff : 0x0fff;
|
||||
s->range_table = &apci3120_ai_range;
|
||||
s->insn_read = apci3120_ai_insn_read;
|
||||
if (0 /* dev->irq */) {
|
||||
if (dev->irq) {
|
||||
dev->read_subdev = s;
|
||||
s->subdev_flags |= SDF_CMD_READ;
|
||||
s->len_chanlist = s->n_chan;
|
||||
|
||||
Reference in New Issue
Block a user