summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2015-10-08 00:52:48 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-13 08:56:42 +0300
commitf78ce5fd1ef5e99290a4251b95b0c27ba7d2db4f (patch)
tree18a6e68a76c70048f5f4a85f0df510340e1e4b97 /include/uapi
parent8e3390725093dfec3143046592ed611b4b7a12e6 (diff)
downloadlinux-f78ce5fd1ef5e99290a4251b95b0c27ba7d2db4f.tar.xz
staging: comedi: icp_multi: remove board reset during (*detach)
The icp_multi_reset() function currnelt does the following during the (*auto_attach) and (*detach) of this driver: 1) disables all interrupts and clears any pending requests 2) resets the analog output channels to 0V (0..5V range) 3) sets all digital output channels to 0 Interrupts are not used by this driver so the disable/clear when detaching is not necessary. Depending on the use, reseting the analog and digital outputs when the driver is detached might not be desireable. Remove the board reset during the (*detach) and use comedi_pci_detach() directly. 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>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions