git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd01a7a
)
tty/n_gsm: fix bug in tiocmset
author
Nikola Diklic-Perin
<diklic.perin.nikola@gmail.com>
Fri, 23 Sep 2011 08:59:43 +0000
(10:59 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 26 Sep 2011 23:38:44 +0000
(16:38 -0700)
Clear bitmask was not inverted before masking modem_tx.
Calling ioctl(fd, TIOCMBIC, TIOCM_RTS) results in:
[ 197.430000] pre_modem_tx: 0x00000006
[ 197.430000] clear: 0x00000004
[ 197.430000] set: 0x00000000
[ 197.440000] post_modem_tx: 0x00000004
which is wrong.
Signed-off-by: Nikola Diklic-Perin <diklic.perin.nikola@gmail.com>
Acked-by: Alan Cox <alan@linx.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/n_gsm.c
patch
|
blob
|
history
diff --cc
drivers/tty/n_gsm.c
Simple merge