USB: f81232: implement MCR/MSR function
authorPeter Hung <hpeter@gmail.com>
Tue, 17 Mar 2015 09:48:23 +0000 (17:48 +0800)
committerJohan Hovold <johan@kernel.org>
Fri, 27 Mar 2015 16:29:26 +0000 (17:29 +0100)
commit691545fd92551baea6207781b33c95aa6444bf0d
tree378325de1e6ded56c1da0a7afdc8f9dba3b2daa2
parent87fe5adcd8de001160d9208def72cc11f3780845
USB: f81232: implement MCR/MSR function

This patch implement relative MCR/MSR function, such like
tiocmget()/tiocmset()/dtr_rts()/carrier_raised()

original f81232_carrier_raised() compared with wrong value UART_DCD.
It's should compared with UART_MSR_DCD.

Signed-off-by: Peter Hung <hpeter+linux_kernel@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/f81232.c