linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Michlmayr <tbm@cyrius.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-serial@vger.kernel.org, rmk+serial@arm.linux.org.uk,
	Peter Fuerst <pf@net.alphadv.de>
Subject: Update zilog timeout
Date: Mon, 21 May 2007 11:11:11 +0200	[thread overview]
Message-ID: <20070521091111.GA31429@deprecation.cyrius.com> (raw)

The following patch has been in the linux-mips tree July 2005 and has
been in Debian for quite a while.  Can it be added to mainline?


From: Thiemo Seufer <ths@networkno.de>
Date: Sun, 3 Jul 2005 18:00:33 +0000 (+0000)
Subject: Update zilog timeout, thanks Peter Fuerst.
X-Git-Tag: linux-2.6.12~42
X-Git-Url: http://www.linux-mips.org/git?p=linux.git;a=commitdiff_plain;h=105487b1c7b5e84023725790d0c9383490d7d8a0;hp=89829912fe22a77f71e4d0a0fffad230d8de4fad

Update zilog timeout, thanks Peter Fuerst.

Signed-off-by: Thiemo Seufer <ths@networkno.de>

---

diff --git a/drivers/serial/ip22zilog.c b/drivers/serial/ip22zilog.c
index 3ea46c0..907ccf7 100644
--- a/drivers/serial/ip22zilog.c
+++ b/drivers/serial/ip22zilog.c
@@ -881,6 +881,7 @@ ip22zilog_set_termios(struct uart_port *port, struct termios *termios,
 	up->cflag = termios->c_cflag;
 
 	ip22zilog_maybe_update_regs(up, ZILOG_CHANNEL_FROM_PORT(port));
+	uart_update_timeout(port, termios->c_cflag, baud);
 
 	spin_unlock_irqrestore(&up->port.lock, flags);
 }
@@ -1047,6 +1048,8 @@ ip22serial_console_termios(struct console *con, char *options)
 	}
 
 	con->cflag = cflag | CS8;			/* 8N1 */
+
+	uart_update_timeout(&ip22zilog_port_table[con->index].port, cflag, baud);
 }
 
 static int __init ip22zilog_console_setup(struct console *con, char *options)

-- 
Martin Michlmayr
http://www.cyrius.com/

                 reply	other threads:[~2007-05-21  9:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20070521091111.GA31429@deprecation.cyrius.com \
    --to=tbm@cyrius.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=pf@net.alphadv.de \
    --cc=rmk+serial@arm.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).