projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2c3fdb
)
Staging: serqt_usb2: Two branches the same in qt_set_termios()
author
Roel Kluin
<roel.kluin@gmail.com>
Sun, 17 Jan 2010 15:50:10 +0000
(16:50 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 4 Mar 2010 00:42:48 +0000
(16:42 -0800)
Regardless of the condition, the branches executed the same code
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/serqt_usb2/serqt_usb2.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/serqt_usb2/serqt_usb2.c
b/drivers/staging/serqt_usb2/serqt_usb2.c
index 375a50580a28bc34cf2910b0b7de0740ad5bc047..44f2d4eaf84b1705f2a077afd04b85aff540d715 100644
(file)
--- a/
drivers/staging/serqt_usb2/serqt_usb2.c
+++ b/
drivers/staging/serqt_usb2/serqt_usb2.c
@@
-1277,7
+1277,7
@@
static void qt_set_termios(struct tty_struct *tty,
if (cflag & CSTOPB)
new_LCR |= SERIAL_TWO_STOPB;
else
- new_LCR |= SERIAL_
TWO
_STOPB;
+ new_LCR |= SERIAL_
ONE
_STOPB;
dbg("%s - 4\n", __func__);