Re: [PATCH 1/3] [ARM] msm_serial: serial driver for MSM7K onboard serial peripheral.

From: Brian Swetland
Date: Tue Jun 16 2009 - 23:08:19 EST


On Mon, Jun 15, 2009 at 1:52 AM, Alan Cox<alan@xxxxxxxxxxxxxxxxxxx> wrote:
> On Sun, 14 Jun 2009 19:39:15 -0700 Brian Swetland <swetland@xxxxxxxxxx> wrote:
>
> The set_termios method also needs to properly propogate back the settings
> it actually used (in your case thats mostly the setting the actual speed
> selected).

Would something like:
if (tty_termios_baud_rate(termios))
tty_termios_encode_baud_rate(termios, baud, baud);

Be the reasonable thing to do? 8250.c seems to do that.

Thanks,

Brian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/