mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: David Woodhouse <dwmw2@infradead.org>
Cc: torvalds@osdl.org, akpm@osdl.org, rmk@arm.linux.org.uk,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] NS16550A: Restore HS settings in EXCR2 on resume
Date: Thu, 17 May 2007 10:04:39 +0100	[thread overview]
Message-ID: <20070517100439.3fb749cb@the-village.bc.nu> (raw)
In-Reply-To: <1179383259.2859.420.camel@shinybook.infradead.org>

On Thu, 17 May 2007 14:27:39 +0800
David Woodhouse <dwmw2@infradead.org> wrote:

> After a suspend/resume cycle, the UART may have been reset into
> low-speed mode -- either because it's actually been reset, or because
> the firmware pokes at the old-style divisor registers. If we detected it
> as a NS16550A SuperIO chip in the first place and set baud_base to
> 921600, then we should do so again in the resume path.
> 
> This patch adds that code to serial8250_resume_port(), and also makes
> serial8250_resume() actually call serial8250_resume_port() for each port
> instead of just calling uart_resume_port() directly. And thus fixes
> serial port operation after suspend/resume.
> 
> It also fixes a bogus comment where we write the EXCR2 register with a
> comment saying /* EXCR1 */
> 
> Signed-off-by: David Woodhouse <dwmw2@infradead.org>

Acked-by: Alan Cox <alan@redhat.com>


      reply	other threads:[~2007-05-17  9:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-17  6:27 David Woodhouse
2007-05-17  9:04 ` Alan Cox [this message]

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=20070517100439.3fb749cb@the-village.bc.nu \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=akpm@osdl.org \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk@arm.linux.org.uk \
    --cc=torvalds@osdl.org \
    /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

all inboxes | Powered by JetHome®