staging: comedi: adl_pci9118: don't ignore hardware errors
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 9 Sep 2014 20:05:29 +0000 (13:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Sep 2014 21:34:24 +0000 (14:34 -0700)
commit9e5314851a87ebf0ed4cfed100fd984b22111962
treeacda962b0c64ab3f2e7a567a31704408907579df
parentcb578327814da1d9c91dc22c3e3f9a3ed6d7c40b
staging: comedi: adl_pci9118: don't ignore hardware errors

The legacy (*attach) currently allows the user to pass a mask of error conditions
to ignore when running async commands. Remove this support so that the async
command is always terminated if the hardware reports an error.

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/adl_pci9118.c