]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
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>
Sat, 25 Jan 2014 16:27:11 +0000 (08:27 -0800)
commitd687814867c12165eadb676a93af6a1e201ed494
tree360be39093e92e7c5521fa7a03881410099572a0
parentdeb19aafd901b60f7192b1e16073ec6673d5c98b
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