]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tty: Fix the HSO termios handling a bit
authorAlan Cox <alan@redhat.com>
Fri, 2 Jan 2009 13:47:45 +0000 (13:47 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Jan 2009 18:19:41 +0000 (10:19 -0800)
commitac9720c37e8795317e8be3adad63cb0d5522a640
treedc95934f775b7867552ef230756fa6726740216b
parente136e3036bf27569dbfeae245cc09c7167cdc749
tty: Fix the HSO termios handling a bit

Init the tty structure once
Don't set ->low_latency twice in a row
Don't force bits we should be leaving to the user
Don't allocate termios arrays as these are in fact allocated by the tty layer
for you and just overwrite the ones allocated in the driver

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/usb/hso.c