staging: comedi: addi_apci_1032: fix subdevice type/flags bug
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 9 Dec 2013 23:06:41 +0000 (16:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2013 18:03:03 +0000 (10:03 -0800)
commit90daf69a7a3f1d1a41018c799968a0bb896d65e0
tree0f94636c1336442e3b886b157b2d4e839bb04e04
parenta92fe15636a06d2d6c6d1b046ca13f41322c4556
staging: comedi: addi_apci_1032: fix subdevice type/flags bug

The SDF_CMD_READ should be one of the s->subdev_flags not part of
the s->type.

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>
drivers/staging/comedi/drivers/addi_apci_1032.c