On Fri, Jul 15, 2011 at 12:19 AM, Nick Pelly <[email protected]> wrote:
> Fixes logic bug that software flow control cannot be disabled, because
> serial_omap_configure_xonxoff() is not called if both IXON and IXOFF bits
> are cleared.
>

Thanks, Good Point.

need to send to this patch to [email protected],
CC'ing "Greg Kroah-Hartman <[email protected]>"

will be merged through tty tree.

feel free to add

Acked-by: Govindraj.R <[email protected]>
Tested-by: Govindraj.R <[email protected]>

--
Thanks,
Govindraj.R

> Signed-off-by: Nick Pelly <[email protected]>
> ---
>  drivers/tty/serial/omap-serial.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/tty/serial/omap-serial.c 
> b/drivers/tty/serial/omap-serial.c
> index 47cadf4..6d3ec14 100644
> --- a/drivers/tty/serial/omap-serial.c
> +++ b/drivers/tty/serial/omap-serial.c
> @@ -806,8 +806,7 @@ serial_omap_set_termios(struct uart_port *port, struct 
> ktermios *termios,
>
>        serial_omap_set_mctrl(&up->port, up->port.mctrl);
>        /* Software Flow Control Configuration */
> -       if (termios->c_iflag & (IXON | IXOFF))
> -               serial_omap_configure_xonxoff(up, termios);
> +       serial_omap_configure_xonxoff(up, termios);
>
>        spin_unlock_irqrestore(&up->port.lock, flags);
>        dev_dbg(up->port.dev, "serial_omap_set_termios+%d\n", up->pdev->id);
> --
> 1.7.5.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to