From: Laurent Pinchart <laurentp@cse-semaphore.com>
To: Kumar Gala <kumar.gala@freescale.com>
Cc: linuxppc-dev@ozlabs.org, vbordug@ru.mvista.com
Subject: Re: [PATCH] cpm2: Round the baud-rate clock divider to the nearest integer.
Date: Thu, 20 Nov 2008 16:57:44 +0100 [thread overview]
Message-ID: <200811201657.44240.laurentp@cse-semaphore.com> (raw)
In-Reply-To: <644D289D-7057-44F4-B444-E60402E06912@freescale.com>
Hi Kumar,
On Thursday 20 November 2008 16:32:21 Kumar Gala wrote:
> On Nov 20, 2008, at 6:32 AM, Laurent Pinchart wrote:
> > Instead of rounding the divider down, improve the baud-rate generators
> > accuracy by rounding to the nearest integer.
> >
> > Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com>
> > ---
> > arch/powerpc/sysdev/cpm2.c | 3 ++-
> > 1 files changed, 2 insertions(+), 1 deletions(-)
>
> is this fixing a bug or just making things better?
I guess it depends on your definition of bug :-) The problem has always been
present in the kernel sources, and people seem to have coped with it until
today. It is still a bug in my opinion, but I suppose the patch can wait until
2.6.29 especially if we want to get it tested (it slightly changes baud rates
after all).
--
Laurent Pinchart
CSE Semaphore Belgium
Chaussee de Bruxelles, 732A
B-1410 Waterloo
Belgium
T +32 (2) 387 42 59
F +32 (2) 387 42 75
next prev parent reply other threads:[~2008-11-20 15:57 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-20 12:32 [PATCH] cpm2: Round the baud-rate clock divider to the nearest integer Laurent Pinchart
2008-11-20 15:32 ` Kumar Gala
2008-11-20 15:57 ` Laurent Pinchart [this message]
2008-11-20 16:00 ` Kumar Gala
2008-11-20 16:42 ` Laurent Pinchart
2009-01-15 13:18 ` Laurent Pinchart
2009-01-15 14:42 ` Kumar Gala
2009-01-15 14:58 ` Laurent Pinchart
2009-01-15 17:54 ` Scott Wood
2009-01-15 18:57 ` Kumar Gala
2009-01-16 9:50 ` Laurent Pinchart
2008-11-20 19:53 ` Scott Wood
2008-11-21 16:04 ` Laurent Pinchart
2008-11-21 17:00 ` Scott Wood
2009-01-27 17:20 ` Kumar Gala
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=200811201657.44240.laurentp@cse-semaphore.com \
--to=laurentp@cse-semaphore.com \
--cc=kumar.gala@freescale.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=vbordug@ru.mvista.com \
/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).