]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: dt9812: do not allow attaching to unsupported devices
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 May 2013 21:36:11 +0000 (14:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:26:04 +0000 (16:26 -0700)
commit9a054c278d951720e8761151b6ff9d7e1948258e
tree3d1ad2af84f33c400d0fd32acace6e8f8b7f245e
parentd6caedf074afe10d585df6d8e61c7a171d91e44f
staging: comedi: dt9812: do not allow attaching to unsupported devices

The DT9812 is part of the ECONseries of USB Data Acquisition Modules.
This driver only supports the DT9812-10V and DT9812-2.5V versions of
the module. Do not attach to the device if an unsupported module is
detected.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dt9812.c