From: kgene.kim@samsung•com (Kukjin Kim)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH] serial: samsung: Add support 4M baudrate for samsung serial
Date: Sun, 13 May 2012 08:58:08 +0900 [thread overview]
Message-ID: <4FAEF910.902@samsung.com> (raw)
In-Reply-To: <001b01cce24a$b01cb370$10561a50$%kim@samsung.com>
On 02/03/12 17:06, ??? wrote:
> At getting the baudrate, the max baudrate parameter value
> is changed to 4M.
> So samsung serial can support upto 4M baudrate.
>
> Signed-off-by: Kyoungil Kim<ki0351.kim@samsung•com>
> ---
> drivers/tty/serial/samsung.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c
> index a6abe0c..513096d 100644
> --- a/drivers/tty/serial/samsung.c
> +++ b/drivers/tty/serial/samsung.c
> @@ -701,7 +701,7 @@ static void s3c24xx_serial_set_termios(struct uart_port *port,
> * Ask the core to calculate the divisor for us.
> */
>
> - baud = uart_get_baud_rate(port, termios, old, 0, 115200*8);
> + baud = uart_get_baud_rate(port, termios, old, 0, 4000000);
> quot = s3c24xx_serial_getclk(ourport, baud,&clk,&clk_sel);
> if (baud == 38400&& (port->flags& UPF_SPD_MASK) == UPF_SPD_CUST)
> quot = port->custom_divisor;
Kyoungil,
Is this available on all of Samsung serial?
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung•com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
next prev parent reply other threads:[~2012-05-12 23:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-03 8:06 [PATCH] serial: samsung: Add support 4M baudrate for samsung serial 김경일
2012-05-12 23:58 ` Kukjin Kim [this message]
2012-05-14 10:30 ` Kyoungil Kim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FAEF910.902@samsung.com \
--to=kgene.kim@samsung$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox