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>
Wed, 29 Jan 2014 13:06:18 +0000 (05:06 -0800)
commit323a088a4d9905415825e451372ad7b71fe256fc
tree266374b0a458026cefbebede2b728185c8ed8fb8
parentaf7b2d49ef7b4171ef416b7ca2810834993afbca
staging: comedi: addi_apci_1032: fix subdevice type/flags bug

commit 90daf69a7a3f1d1a41018c799968a0bb896d65e0 upstream.

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