Hi Laurent, On Sun, Jan 4, 2015 at 11:53 PM, Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> wrote: > Hi Magnus, > > Thank you for the patch. > > On Wednesday 17 December 2014 21:53:25 Magnus Damm wrote: >> From: Magnus Damm <damm+renesas@xxxxxxxxxxxxx> >> >> Expose CTS pin to serial core for the SCIFA/SCIFB case. >> >> Signed-off-by: Magnus Damm <damm+renesas@xxxxxxxxxxxxx> >> --- >> >> drivers/tty/serial/sh-sci.c | 17 +++++++++++++++-- >> 1 file changed, 15 insertions(+), 2 deletions(-) >> >> --- 0023/drivers/tty/serial/sh-sci.c >> +++ work/drivers/tty/serial/sh-sci.c 2014-12-17 18:46:44.000000000 +0900 >> @@ -564,6 +564,11 @@ static void sci_init_pins_default(struct >> serial_port_out(port, SCSPTR, status); /* Set RTS = 1 */ >> } >> >> +static bool sci_cts_asserted_scifab(struct uart_port *port) >> +{ >> + return !(serial_port_in(port, SCPDR) & BIT(3)); > > Could you please define SCPDR_CTSD to replace BIT(3) ? Done in V2! Thanks, / magnus -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html