]> git.baikalelectronics.ru Git - kernel.git/commit
serial: sh-sci: Fix up modem control handling.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 24 Nov 2011 11:18:32 +0000 (20:18 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 24 Nov 2011 11:18:32 +0000 (20:18 +0900)
commit232cc00af9b7b8a8e0776b9461b574d9115b81c3
tree1a45105e180e962d909df035f67e7188eb0cb4d1
parentbd4e3d188bed1b84732875cb74ebfd318a2a1d38
serial: sh-sci: Fix up modem control handling.

At the moment things like CTS/RTS are reported for all ports, while the
vast majority of them do not implement support at all (and others
implement support entirely in hardware). Fix up the ->get_mctrl()
reporting to simply assert DSR/CAR as other drivers without control
lines do.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/tty/serial/sh-sci.c