mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
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:
parent
f50205f047
commit
c58f9bb622
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue