projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc1cfd3
)
staging: comedi: usbduxfast: adding missing break in case statement
author
Bernd Porr
<
[email protected]
>
Thu, 24 Jul 2014 13:34:32 +0000
(14:34 +0100)
committer
Greg Kroah-Hartman
<
[email protected]
>
Thu, 24 Jul 2014 22:05:13 +0000
(15:05 -0700)
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 <
[email protected]
>
Reported-by: H Hartley Sweeten <
[email protected]
>
Reviewed-by: Ian Abbott <
[email protected]
>
Reviewed-by: H Hartley Sweeten <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/comedi/drivers/usbduxfast.c
patch
|
blob
|
history
diff --git
a/drivers/staging/comedi/drivers/usbduxfast.c
b/drivers/staging/comedi/drivers/usbduxfast.c
index 2490e88e7f32fb782d61848269017840c21854ed..f85818dd5e118c9a09c732670be713d8f51d57d2 100644
(file)
--- a/
drivers/staging/comedi/drivers/usbduxfast.c
+++ b/
drivers/staging/comedi/drivers/usbduxfast.c
@@
-745,6
+745,7
@@
static int usbduxfast_ai_cmd(struct comedi_device *dev,
0x00, (0xff - 0x02) & rngmask, 0x00);
usbduxfast_cmd_data(dev, 6, 0x01, 0x00, rngmask, 0x00);
+ break;
case 16:
if (CR_RANGE(cmd->chanlist[0]) > 0)