Re: [PATCH] omap-serial: Allow IXON and IXOFF to be disabled.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 15, 2011 at 12:19 AM, Nick Pelly <npelly@xxxxxxxxxx> 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 linux-serial@xxxxxxxxxxxxxxx,
CC'ing "Greg Kroah-Hartman <gregkh@xxxxxxx>"

will be merged through tty tree.

feel free to add

Acked-by: Govindraj.R <govindraj.raja@xxxxxx>
Tested-by: Govindraj.R <govindraj.raja@xxxxxx>

--
Thanks,
Govindraj.R

> Signed-off-by: Nick Pelly <npelly@xxxxxxxxxx>
> ---
>  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 majordomo@xxxxxxxxxxxxxxx
> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux