From: Peter Hung Date: Tue, 17 Mar 2015 09:48:25 +0000 (+0800) Subject: USB: f81232: implement set_termios() X-Git-Tag: omap-for-v4.2/o2_dc~157^2~32^2~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bb4ca6b56bdf65944d0848561ea8dcf53a87507;p=pandora-kernel.git USB: f81232: implement set_termios() The original driver had do not any h/w change in driver. This patch implements with configure H/W for baud/parity/word length/stop bits functional in f81232_set_termios(). This patch also implement DTR/RTS control when baudrate B0. We drop DTR/RTS when B0, otherwise enable it. We are checking baudrate in set_termios() too, If baudrate larger then 115200, it will be changed to 115200 and use tty_encode_baud_rate() to encode into tty Signed-off-by: Peter Hung Signed-off-by: Johan Hovold --- Reading git-diff-tree failed