Thread (15 messages) 15 messages, 4 authors, 2009-01-27

Re: [PATCH] cpm2: Round the baud-rate clock divider to the nearest integer.

From: Kumar Gala <hidden>
Date: 2009-01-15 14:42:24

On Jan 15, 2009, at 7:18 AM, Laurent Pinchart wrote:
Hi Kumar,

On Thursday 20 November 2008 17:00:54 Kumar Gala wrote:
quoted
On Nov 20, 2008, at 9:57 AM, Laurent Pinchart wrote:
quoted
On Thursday 20 November 2008 16:32:21 Kumar Gala wrote:
quoted
On Nov 20, 2008, at 6:32 AM, Laurent Pinchart wrote:
quoted
Instead of rounding the divider down, improve the baud-rate
generators
accuracy by rounding to the nearest integer.

Signed-off-by: Laurent Pinchart <redacted>
---
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).
Ok. I'll put this in the .29 queue.  Can you provide a bit more  
detail
on the issue this is resolving.
2.6.29-rc1 is out and I haven't seen the patch being applied  
anywhere. Is
there any blocking issue ?
I wasn't sure if you and Scott had come to resolution on the rounding  
issue.

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help