staging: comedi: usbduxfast: adding missing break in case statement
authorBernd Porr <mail@berndporr.me.uk>
Thu, 24 Jul 2014 13:34:32 +0000 (14:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jul 2014 22:05:13 +0000 (15:05 -0700)
commit99284f252bb1f9df82dbf6a01bef2b34c19b5083
tree8a876193462af2287c8ebe5820af66ad02737fab
parentfc1cfd3a5444c989fe9f5f6dbb5eaf4e24d982e0
staging: comedi: usbduxfast: adding missing break in case statement

Added a missing "break" which forced the board to acquire 16
channels even when only 3 had been requested.
Thanks for Hartley Sweeten to spot this bug.

Signed-off-by: Bernd Porr <mail@berndporr.me.uk>
Reported-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/usbduxfast.c