serial: sh-sci: modify sci_break_ctl()
authorShimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com>
Fri, 6 Apr 2012 00:59:14 +0000 (09:59 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 9 Apr 2012 08:39:34 +0000 (17:39 +0900)
commitbbb4ce50f3169b08764f9965fd5b9655646d545a
tree78d1a6638af4dd952d78eb6e5cc5c7026bec0146
parent0034102808e0dbbf3a2394b82b1bb40b5778de9e
serial: sh-sci: modify sci_break_ctl()

SCIF modules which have SCSPTR can output the break signal. Now that we
have a way of determining port features/capabilities, add trivial break
control via SCSPTR support. Tested on sh7757lcr.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/tty/serial/sh-sci.c
include/linux/serial_sci.h