]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: adl_pci9118: remove PCI9118_PARANOIDCHECK code
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 9 Sep 2014 20:05:34 +0000 (13:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Sep 2014 21:34:24 +0000 (14:34 -0700)
commitf95d0e9ed31af2c87ffe6316b9e8cd62a48e8bb4
tree80b10bb64cb19f96d3f279976fa5993d282b881e
parenta06e7e2f4a55c1c8e48a82e87ad490bf6d286a5f
staging: comedi: adl_pci9118: remove PCI9118_PARANOIDCHECK code

The comment states that paramoid checks are broken. They also would only
work for 12-bit analog input samples.

Instead of fixing the paranoid checking just remove it to simplify the
driver a bit.

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