summaryrefslogtreecommitdiffstats
path: root/drivers/char/n_hdlc.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-06-29 22:31:40 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-10 22:47:43 +0200
commit3f582b8c11014e4ce310d9839fb335164195333f (patch)
tree348ec2b19eabb25d08546c9008adab9f8e17d428 /drivers/char/n_hdlc.c
parentserial: Use block_til_ready helper (diff)
downloadlinux-3f582b8c11014e4ce310d9839fb335164195333f.tar.xz
linux-3f582b8c11014e4ce310d9839fb335164195333f.zip
serial: fix termios settings in open
Move termios initialization in open into uart_dtr_rts to make sure it always gets called when necessary. Based on a suggestion from Alan Cox. Alan writes: Ok this sort of makes sense. Something isn't getting initialised and both getty and minicom will do a termios set which is sorting it out. This is occurring because the generic block_til_ready sets ASYNCB_NORMAL_ACTIVE so the termios updating gets skipped. This patch should cure it and then we can think about doing it more elegantly by getting the serial layer to use tty_port_open, kfifo and the like and removing the tons of repeated crap in all the drivers. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reported-by: Tony Luck <tony.luck@intel.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: Tony Luck <tony.luck@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/n_hdlc.c')
0 files changed, 0 insertions, 0 deletions