staging: comedi: dt9812: default the analog input gain to 1
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 May 2013 21:35:47 +0000 (14:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:26:04 +0000 (16:26 -0700)
commitd6caedf074afe10d585df6d8e61c7a171d91e44f
tree2af7fa3d8c8bf46092d4e2e768ac32bffafe2646
parent548c278c6caff2fd7b84fb985bcfda5bc1de8793
staging: comedi: dt9812: default the analog input gain to 1

The 'default' case should never happen. In case it does, default the
gain to '1'.

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